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

testmatrix.cpp - a quick example on the matrix.

life.h - an example class definition for the life class.

A test rig to use with your class. (requires myconsole.h and myconsole.cxx)



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.

Any help would be appreciated, since I am an idiot.