Nevermind I sorted it.
There wasn't a never ending loop. It was that q would go upto 81, but the max stored within grp is 9.
A simple q = 0 in the right place solved it.
I have the two methods below. In makeBoard am i calling the Boardfill method correctly? I don't really know much about pointers etc.
void Boardfill(Board * B)
{
int row, col;
Cell cell;
for(row=0; row<9; row++) {
for(col=0; col<9; col++) {
cell = B->board[row][col]...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.