Contents


    [ 100as.c ] /* How to set up a string with 100 a's in it */

    [ abc.c ] /* the abc program by K&P 2nd Edn page 35, documentation on pages 36..38 */

    [ argorder.c ]

    [ arraddr.c ] /*Examples of Array addressing

    [ arrayfun.c ] /* RJBotting. Example of an array of functions

    [ backwards.c ] /* Write a line backwards - pg181.cc from K&P ANSI Edn - recursion*/

    [ binary.c ] /* Convert decimal to binary. uses bit functions and MASKs

    [ binding.c ] /* static and dynamic binding in C */

    [ bisection.c ] /*ANSI version of bisection showing how to make prototype with funct argument*/

    [ bitwise.c ]

    [ blocks.c ]

    [ br.c ] /* br.c by RJB CSUSB 1987 Program to word wrap text. #define, backtrack,...

    [ catmat2.c ] /* catmat.c started on Thu Jan 27 10:31:39 PST 1994 by dick */

    [ catmat.c ] /* catmat.c started on Thu Jan 27 10:31:39 PST 1994 by dick */

    [ change.c ] /* Make change for cents.

    [ characer.c ] /* Y. Karant 13 Jan 89 Sample char program

    [ charactr.c ] /* Y. Karant 13 Jan 89 Sample char program - instant ASCII!

    [ charaddr.c ] /* pointers to characters in hexadecimal

    [ charint.c ] /*chars and ints*/

    [ cntchars.c ] /* count characters by type*/ /* kelley & powell, 2nd edn, pg133*/

    [ comper.c ]

    [ complement.c ] /* long and unsigned output with ! and ~

    [ crasher.c ]

    [ crunch.c ] /* crunch.c -- removes all comments and some white space from a C program.

    [ debug.c ] /* Example of useful preprocessor stuff */

    [ demopnt.c ] /* shows behavior of pointers */

    [ doublength.c ] /* double_out from K&P 2nd Edn page 48 */

    [ doublespace.c ] /* double space the lines in a file */

    [ doubpnt.c ] /* double example

    [ dvd.mbox ] From rmcgee@csusb.edu Wed Mar 14 13:59:51 2001

    [ dyn.binding.c ]

    [ echo.c ] /* From Kernighan & Ritchie Chpater 5 */

    [ enigma.c ] /* Qn 1. Describe in a short phrase what this program does.

    [ enum.c ] /*Authors: dick: Example and test of enumeration types in our C

    [ enumeration.c ] /*Authors: dick

    [ eqq.c ] /* == and + */

    [ eset1.c ]

    [ esets.h ] /* A first attempt at elementary sets in C

    [ ex15.1.c ] /* & and * */

    [ fact.c ] /*Authors: dick(Richard Botting): printing factorials. Sample of documentation

    [ factrec.c ] /*Authors: dick(Richard Botting): printing factorials. Sample of documentation

    [ fibonaci.c ] /*** kelly and pohl pg 123 1st ed ***/ /*** fibonacci numbers ***/

    [ fig1.3.c ] /* Example 1.3 from page 1.3 of Burkhard: Demonstrate simple features of C */

    [ final.4.c ] /* Test of understanding of operators logical and arithmetic*/

    [ final.8a.c ] /* test of handling pointers to chars */

    [ flipper.c ] Pass by value does pass by ref.

    [ fundsize.c ] /*** size of fundamental types ***/

    [ funfun.c ] /* RJBotting. Example of a function that returns a function - typedef

    [ gcd.c ]

    [ grader.c ] /* grading - uses typedefs, structs, enum, unions,...*/

    [ hanoi.c ] /* Towers of Hanoi, Recursion and functions.*/

    [ harmonic.c ] /*RJBotting. Harmonic function. Using sscanf to handle arguments*/

    [ hello.c ] /* Y. Karant 11 Jan 89. First sample program - main, printf, simple template

    [ horror2.c ] >From a magazine for the Amiga computer

    [ horror.c ] /* Article from 'The C Users Journal' tm. */

    [ incrdecr.c ] /*** increment and decrement expressions ***/

    [ intarith.c ] /*** integer arithmetic ***/

    [ kbhit.c ] /*

    [ kitten.c ] /* From Kernighan & Ritchie Chpater 7 */

    [ korny.c ] /*Authors: Steve (?) Korn of AT&T Bell Labs: To confuse the reader.

    [ loan.c ] /*loan calculations. much math, a loop and Input/output

    [ mainargs.c ] /* Using ALL the arguments of a C program

    [ mainex2.c ]

    [ mainex.c ] /* Template program with command line arguments*/

    [ marathon.c ] /*** the distance of a marathon in kilometers ***/

    [ mathfunc.c ] /*** trig functions ***/

    [ mazey.c ] /* Another example of obscurantist code... nyet@cco.caltech.edu

    [ minmax.c ] /* kelly and pohl 2nt ed pg 25-26 - compute minimum and maximum*/

    [ modtest.c ] /* defining MOD as %

    [ my_echo.c ] /* shows meaning of arguments of main(argc, argv) - K&P 2nd edn pg 225 */

    [ nice_day.c ] /* Have a nice day! */ /*From K&P 2nd Edn pg 32*/ /*Bulletproofing by dick*/

    [ noblanks.c ] /* Y. Karant 31 January 1989 removes some blanks from text files */

    [ nodebug.c ] /* Example of useful preprocessor stuff */

    [ obscure.c ] /* From georgiou Fri Apr 9 13:00:56 1993*/

    [ odd.c ]

    [ old.c ]

    [ old.operators.c ]

    [ operators.c ]

    [ pacific_ocean.c ] /* Measuring the Pacific Sea. */

    [ palindrome.c ] /palindromes - make em, print'em. String handling.*/

    [ paradox.c ] /* An unusual function*/

    [ pntrarray.c ] /* print characters in array*/

    [ pntrfun.c ] /* sample of pointers to functions

    [ powers.c ]

    [ preproc.h ] /* example of header file */

    [ primes.c ]

    [ print.c ]

    [ printf.c ]

    [ prn_rand.c ] /* Print random integers - using standard library functions (rand)*/

    [ prntpct.c ] /* Yasha Karant 18 Jan 90 prints out a % sign */

    [ ptoc.c ] /* ptoc.cc: print a table of contents -- uses ptoc.h

    [ puzzle.c ] /*From barter Mon Jan 18 15:49:08 1993

    [ quickie.c ] /* quickie.c - Quck program to test out expressions with two arguments*/

    [ quiz1.c ] /* sins and cosines and radians....*/

    [ random.ansi.h ] /* random numbers...*/

    [ random.c ] /* RJBottings DIY random number generator

    [ random.h ] float random();/*value is pseudo-random number in the range 0 to 1*/

    [ rap.c ] /* Print out an instant rap song

    [ rational.c ] /* abstract data structures - the rationals */

    [ readyn.c ] /* function which waits for input of y/n/Y/N and reports*/

    [ restfp.c ]

    [ scanf.c ] /* a knotty little bit of scanfery - reading to END OF LINE*/

    [ scissors.c ] /* kelly and pohl 1st ed pg 178 */ /* scissors, paper stone*/

    [ sea.c ]

    [ selecttest.c ] /* Y. Karant 11 Jan 89 First sample program

    [ selfprint.c ]

    [ sqrt_pow.c ] /* Using mathematical functions */

    [ stack.c ]

    [ stack.h ]

    [ stats.c ] /* kelly and pohl 1st ed pg 145 - 146 */

    [ stringarray.c ] /* What a string really is.*/

    [ strings.c ]

    [ struct.c ] /*First sample of a structure*/

    [ structures.c ] /* data structutures - stack, enum, union, struck, #define DEBUG */

    [ subprograms.c ] /* A program demonstrating Subprograms is C

    [ sum.c ] /* Y. Karant 13 Jan 89: Example of sum and simple subroutine call

    [ sumdo100.c ] /* sum example using do-while from Burkhard */

    [ sumfor100a.c ] /* sum example using for from Burkhard */

    [ sumfor.c ] /* sum example using for from Burkhard */

    [ sumfun.c ] /* Y. Karant 13 Jan 89: Example of sum and simple subroutine call

    [ sumwhile.c ] /* sum example using while from Burkhard */

    [ swap.c ] /* what a difference a star makes....:-) After K&P 2nd Edn pg201, swap.cc*/

    [ testcont.c ] /* continue statements*/

    [ testform.c ] /* Value returned by 'scanf' */

    [ testlogical.c ] /* karant 30 Jan 1990 */ /*sizes and equality of longs and shorts*/

    [ testreadyn.c ] /* Main program - needs to be compiled OR linked with readyn.c */

    [ testring.c ] /*surprising strings*/

    [ trandom.c ] /*Authors: dick: Using the random number generator in /usr/cs290/src/ran.c

    [ unaryops.c ]

    [ union.c ] /*Authors: dick: Test union in our C

    [ uniondouble.c ] /* union and double length numbers...*/

    [ vn50.c ] /* The VN50 emulator and controler.

    [ void.c ] /* This program shows how the inclusion of <sys/types.h> makes it possible

    [ wordsize.c ]

    [ xabc.c ] /* A demo of why we must make sure that subscripts stay within their bounds*/

    [ yarf.c ] /* Yet Another Recursive Function */

    [ yet_another_puzzle.c ]

    [ zet.c ]


Formulae and Definitions in Alphabetical Order