PDA

View Full Version : Accelerated C++ - Only read if you have the book..



Craig`
12-28-2008, 11:09 AM
Hey, this has been getting on my nerves, on page 21 theres:



int r = 0;

while(r != rows) {
std::cout << std::endl;
++r;
}


Is this just an example to introduce you to the while loop? Or what?

Buckleyindahouse
12-28-2008, 12:34 PM
apparently it's a while loop by the while keyword.

boberman
12-28-2008, 02:13 PM
Yes, that is an example to introduce you to a while loop.