Thread: Loops in C++
View Single Post
Old 01-03-2008, 10:51 AM   #6 (permalink)
FlyingIsFun1217
Junior Member
 
Join Date: Dec 2007
Posts: 9
Reputation: 0
FlyingIsFun1217 is an unknown quantity at this point
Default

Nested loops: do something until condition is met, usually do something else, repeat.

I prefer to just:

<div class='quotetop'>QUOTE </div>
Quote:
bool done = false;

while(done = false)
{
//do stuff, eventually set done to true
}[/b]
Just showing my method.
FlyingIsFun1217
FlyingIsFun1217 is offline   Reply With Quote