Practical C - O'Reilly

Reprinted with permission from 'Practical C Programming' copyright 1993 O'Reilly and Associates, Inc. For orders and information, call 1-800-988-9938.

Source directory can be extracted from ftp.uu.net:/published/oreilly/nutshell/practical_c.

I strongly recomended you get the book to put these examples into context. Martin

      Name                    Description

[TXT] 01_1.c P.02 - Usual first program. [TXT] 01_2.c P.06 - Repeat of 01_1.c [TXT] 02_1.c P.11 - Repeat of 01_1.c with COMMENTS! [TXT] 03_1.c P.24 - Compute the value of (1+2)*4 [TXT] 03_2.c P.27 - Store an interger into a variable. [TXT] 03_3.c P.29 - Compute a value and print it. [TXT] 03_4.c P.33 - Reverse three characters. [TXT] 04_1.c P.36 - Compute the total average of five numbers [TXT] 04_2.c P.38 - Assign and print a string variable. [TXT] 04_3.c P.39 - Concatinate two strings. [TXT] 04_4.c P.41 - Read line from keyboard and print length [TXT] 04_5.c P.41 - Mash 4_3 and 4_4 together. [TXT] 04_6.c P.42 - Build on 4_5. [TXT] 04_7.c P.45 - sscanf example. [TXT] 05_1.c P.62 - Generate the Fibonacci sequence. [TXT] 05_2.c P.64 - Add a sequence of numbers. [TXT] 05_3.c P.65 - Building on 5_2. [TXT] 06_1.c P.75 - Four function calculator. First attempt. [TXT] 06_2.c P.79 - Four function calculator - More facilities [TXT] 06_3.c P.84 - Number guessing game. [TXT] 07_1.c P.88 - Use 'while' to add 5 numbers. [TXT] 07_2.c P.88 - Use 'for' to add 5 numbers. [TXT] 07_3.c P.92 - Calculator using the 'switch' statement. [TXT] 08_1.c P.103 - Temp and permanent variables. [TXT] 08_2.c P.106 - Compute the area of three triangles. [TXT] 08_3.c P.111 - Solve all the worlds problems!!!!! [TXT] 09_1.c P.116 - Program without #define [TXT] 09_2.c P.116 - Same program with #define [TXT] 09_3.c P.118 - Preprocessor trap! [TXT] 09_4.c P.125 - Problems with macros. [TXT] 09_5.c P.126 - Macro issues continued. [TXT] 10_1.c P.142 - Bit Operations example. [TXT] 11_1.c P.150 - Union example. [TXT] 12_1.c P.162 - Simple use of pointers. [TXT] 12_2.c P.165 - Passing a pointer to a function. [TXT] 12_3.c P.168 - Print the elements and addresses of an a> [TXT] 12_4.c P.169 - Count the number of elements that are no> [TXT] 12_5.c P.169 - Prog 12.-3 using a pointer to an array. [TXT] 12_6.c P.170 - Passing an array to a function. [TXT] 12_7.c P.172 - Simple string processing. [TXT] 12_8.c P.177 - The 'print' program. [TXT] 13_1.c P.183 - Count the number of characters in a file. [TXT] 13_2.c P.195 - Copy a file. [TXT] 14_01.c P.202 - Database lookup program. [TXT] 14_02.c P.204 - Revision of 14_01. [TXT] 14_03.c P.205 - More improvements. [TXT] 14_04.c P.206 - and a bit more. [TXT] 14_05.c P.207 - Final revision. [TXT] 14_06.c P.213 - Example of a program with a bug. [TXT] 14_07.c P.217 - Binary search. [TXT] 14_08.c P.224 - Corrected version of 14_07. [TXT] 14_09.c P.226 - Debuging example. [TXT] 14_10.c P.227 - Runtime error example. [TXT] 14_11.c P.228 - 14_10 fixed. [TXT] 14_12.c P.229 - Initialize a matrix. [TXT] 14_13.c P.230 - 14_13 improved. [TXT] 14_14.c P.230 - Loop nesting. [TXT] 14_15.c P.232 - 14_14 speeded up [TXT] 14_16.c P.232 - More improvements. [TXT] 14_17.c P.233 - and more. [TXT] 14_18.c P.233 - and more..... [TXT] 14_19.c P.234 - Final cut. [TXT] 15_1.c P.245 - Calculate the accuracy of floating point> [TXT] 16_1.c P.253 - malloc [TXT] 16_2.c P.258 - search a list. [TXT] 16_3.c P.271 - print a list of words in ASCII order. [TXT] 17_1.c P.287 - Infinite arrarys. [TXT] 17_2.c P.296 - Histogram. [TXT] font.h [TXT] fonts.c [TXT] gen.h [TXT] macro.h [TXT] macros.c [TXT] makefile.tcc [TXT] makefile.unix [TXT] standard.mac [TXT] symbol.c [   ] test.csh [TXT] tlint.c [TXT] troff.test

Apache/1.3.12 Server at www.gator.net Port 80