View Single Post
Old Apr 29th, 2005, 1:36 PM   #3
357mag
Hobbyist Programmer
 
Join Date: Mar 2005
Posts: 148
Rep Power: 4 357mag is on a distinguished road
I noticed that if I add two more braces like this:

for(int i = 0; i < rows; i++)
{
for(int j = 0; j < columns; j++)
{
cout << theChar;
cout << "\n";
}
}

It will print just the opposite like this:
*
*
*
*
*
*
and all the way down to 25.

Why?
357mag is offline   Reply With Quote