It's still hard for me to see what I am doing wrong..
I am initializing a counter to 1.
Then inside 2 for loops (to iterate over the board), I place the next code:
if (board[i][j] == counter)
{
counter++;
}
else if (board[i][j] == 0)
{
counter++;
}
Then after closing the for-loops I check the following:
if ((d*d) == counter && board[d-1][d-1] == 0)
return true;
else
return false;
check50 is giving me this:
:( 3x3.txt wins the 3x3 board
\ expected an exit code of 0, not a prompt for input
:( 4x4.txt wins the 4x4 board
\ expected an exit code of 0, not a prompt for input
In what way am I asking for a prompt for input? I don't understand what is meant by this.. Can someone push me the right way?