polymath, on 15 May, 2008 - 05:29 PM, said:
So you don't use loops?
Posted 16 May 2008 - 01:19 PM
Posted 16 May 2008 - 03:36 PM
int counter = 0;
while ( condition ) {
// do stuff
counter ++;
}
for ( int i = 0; condition; i++ ) {
// do stuff
}
... or even ...
for ( int i = 0; true; i++ ) {
if ( !condition ) {
break;
}
// do stuff
}
Posted 21 May 2008 - 11:23 AM
Posted 21 May 2008 - 12:14 PM
Ambercroft, on 15 May, 2008 - 07:43 PM, said:
Posted 22 May 2008 - 03:32 PM
for(;condition;){
statement;
}
for(;;){
if(!condition)
break;
}
Posted 23 May 2008 - 05:47 PM
Posted 25 May 2008 - 11:25 PM
herefishyfishy, on 22 May, 2008 - 03:32 PM, said:
for(;condition;){
statement;
}
for(;;){
if(!condition)
break;
}
Posted 27 May 2008 - 08:15 AM
NickDMax, on 25 May, 2008 - 11:25 PM, said:
herefishyfishy, on 22 May, 2008 - 03:32 PM, said:
for(;condition;){
statement;
}
for(;;){
if(!condition)
break;
}
This post has been edited by crcapps: 27 May 2008 - 08:16 AM
Posted 27 May 2008 - 09:19 AM
Posted 29 May 2008 - 06:35 PM
Posted 07 July 2011 - 02:14 PM
