diff options
Diffstat (limited to 'reference/C/EXAMPLES/examples.html')
-rw-r--r-- | reference/C/EXAMPLES/examples.html | 160 |
1 files changed, 160 insertions, 0 deletions
diff --git a/reference/C/EXAMPLES/examples.html b/reference/C/EXAMPLES/examples.html new file mode 100644 index 0000000..b86f7ee --- /dev/null +++ b/reference/C/EXAMPLES/examples.html @@ -0,0 +1,160 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.5 [en] (X11; I; Linux 2.0.36 i586) [Netscape]"> + <title>C Programming Examples</title> +<script language="JavaScript"> +</script> +</head> +<body bgcolor="#FFFFCC"> + +<hr> +<center> +<h1> +C Programming Examples</h1></center> + +<hr> +<p>All these examples have been tested on a PC running Linux and using +the 'gcc' compiler. You can extract the programs with the 'save' option +under 'file' and compile with your own compiler. +<dl compact> +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="first.c">Your first C program.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="if.c">if.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="while.c">while.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="do.c">do.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="for1.c">for </a>example 1.</dd> + +<br><a href="for2.c">for </a>A more advanced example. +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="switch.c">switch.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="function.c">function.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="global.c">Global and local variables.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="inc_dec.c">Increment & decrement.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +Pass <a href="command_line.c">command line</a> arguments.</dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="10to1.c">Print from 10 to 1 - three examples.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="read_file.c">Read a file - version 1.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="strcpy.c">manipulate strings.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="password.c">Using 'curses' to read a password.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="../X_EXAMPLES/Xref.html">Programs requiring X.</a> Unix users +only. +<hr></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="">Index of all example programs.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="../CONTRIB/OR_USING_C/">O'Reillys' Using C examples.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="../CONTRIB/OR_PRACTICAL_C/">O'Reillys' Practical C examples.</a></dd> + +<dt> +<img SRC="whiteball.gif" ALT="o" ></dt> + +<dd> +<a href="../CONTRIB/SNIP/">Bob Stouts 'Snippets'.</a></dd> +</dl> + +<hr> +<center><table BORDER=2 WIDTH="80%" BGCOLOR="#FFFFF0" > +<tr ALIGN=CENTER> +<td WIDTH="25%"><a href="../cref.html">Top</a></td> + +<td WIDTH="25%"><a href="../master_index.html">Master +Index</a></td> + +<td WIDTH="25%"><a href="../SYNTAX/keywords.html">Keywords</a></td> + +<td WIDTH="25%"><a href="../FUNCTIONS/funcref.htm">Functions</a></td> +</tr> +</table></center> + +<p> +<hr> +<address> +Martin Leslie</address> + +</body> +</html> |