Why don't you check it yourself by using a loop?
1 2 3 4 5 6
|
for (int i=0;i<ROWS;i++)
{
for(int j=0;j<COLUMNS;j++)
cout<<numbers[ROW][COLUMNS][i][j];
}
|
if the output is all zeroes then obviously you can use that...
hope it helps
Last edited on
Good idea. I checked it and the values weren't zeros, so I'll just assign each element zero using a loop. Thanks for your help.
the code
int numbers[ROWS][COLUMNS] = {0};
works for me in windows and Code::blocks IDE with GCC compiler.
try again.
+1 whitenite1
my bad... edited accordingly
@cpp1024
You're welcome...