Alan's C++ Progams


Well, here's a few programs I've written over the CSC years! Most of the academic ones are pretty boring, so I'll only include ones here that you might either like or find useful.


BASICGet Single keystrokes for C++


Makefile Info Most of the info I know about makefiles...for beginners!


CGI Header Strips incoming string into an array - for cgi scripts


Base Converter Reliably converts to and from one base to another, base <= 10


Bin_Hex Converter Converts from base 2 to 16 and vice versa...can only handle UP to FFFF


Postfix Calculator A postfix calculator.


Prime Number Generator Prints prime numbers between start and end points to a file


Read And Sort Reads in a file and sorts its contents to another file


Version Control My simplistic attempt at a small version control program.


Triangle Puzzle The popular triangle game on the table at restaurants!


Lunar Lander Can you land the spaceship?


Frogger The arcade classic has gone text!
Needs Makefile
Needs key.h
Needs key.C


Tic Tac Toe Play 0, 1, or 2 players!
Needs Makefile
Needs ttt.h
Needs ttt.C


Surround - A 2600 classic!
Needs Makefile
Needs getchars.h
Needs getchars.C
Needs common.h
Needs common.C
Needs Player.h
Needs Player.C
Needs Board.h
Needs Board.C


Guessing Game Classic children's number guessing game