I have been working on a 8x8 Array for a day or two, and this what I have
Code:
#include <stdio.h>
int main()
{
int x,y;
for(y=1;y<=8;y++){
for(x=1;x<=8;x++){
int Board[8][8];
printf(" %d", Board[8][8]);
}
printf("\n");
}
return 0;
}
But instead of getting a 1-8 count in columns and rows, all i get is zeros like this:
Code:
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
please help me understand how to get a true 8X8 matrix
ps
I am not looking for the answer, only the way to it....