For my final c++ project this term my teacher gave us the task of creating the implementation of the life class in the game of cellular life. Here is what he gave us:
matrix.h - a templated matrix class that may prove useful
http://www.innova.net/~wyatt/matrix.h
testmatrix.cpp - a quick example on the matrix.
http://www.innova.net/~wyatt/testmatrix.cpp
life.h - an example class definition for the life class.
http://www.innova.net/~wyatt/life.h
A test rig to use with your class. (requires myconsole.h and myconsole.cxx)
http://www.innova.net/~wyatt/playlife.cpp
myconsole.cxx
http://www.innova.net/~wyatt/myconsole.cxx
myconsole.h
http://www.innova.net/~wyatt/myconsole.h
Here is my pathetic attempt at trying to solve this. Iknow there isn't much there, since I deleted it and I am trying for the 1000th time.
http://webpages.charter.net/sean647/PRG260/life.cpp
Any help would be appreciated, since I am an idiot.
Thanks
Sean