Thread
:
Just like to know why
View Single Post
Apr 29th, 2005, 1:36 PM
#
3
357mag
Hobbyist Programmer
Join Date: Mar 2005
Posts: 148
Rep Power:
4
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
View Public Profile
Find More Posts by 357mag