+ 1
How to write infinite loop ?
6 Respostas
+ 3
while(true)
do {
}while(true);
for(;;)
+ 1
while (true)
+ 1
void doSomething(){
doSomething();
}
0
slam
0
for(;;) works too. but it isn't as fancy as while.
0
while(true)
do {
}while(true);
for(;;)