Conway's game of life

I need some help with a project, we are working on class and i need to count a cell's neighbors to see how many of them are alive to determine if the next gen. will be alive or dead
================================================================================
#include "cell.h"
int edge = 100;
public: bool aod_d0, aod_d1;

cell::cell()
{
void age() {
}
int nbors_sum(cell[edge][edge], int, int, int, int) {
return
}
void oneday(cell[edge][edge], int, int){
}
}

cell::~cell()
{
//dtor
}
Topic archived. No new replies allowed.