'C' Source Code Examples
A numeric calculator: starting point for complex calculator
Prime number generators
Some Example Programs demonstrating pointers to pointers
Multiplication program demonstrating relative inefficiency of an iterative algorithm
Multiplication program demonstrating relative efficiency of a recursive algorithm
Merge sort program demonstrating a recursive sorting algorithm
Chris Noble's Knuth binary tree program refactored by Richard Kay
Chris Noble's original binary tree program
Richard Kay's AVL balanced binary tree program
Program demonstrating heap priority queue implementation.
General sort first program demonstrating function passing algorithm
General sort second program demonstrating function passing algorithm
Program to create random values in a file suitable for sort testing
Example random text data as created by mkrands.c
Program to use random values for generating passwords
Program to use random values for creating a value for PI.
In order to use pwgen.c and randpi.c programs, a file random.bin
(not supplied) needs to be created first containing a random stream
Program to generate a mininum spanning tree from a graph
to plan the shortest route between 2 places.
In order to use minspan.c the following input data may be
used: vertices.txt and