Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

while is bad

Name: Anonymous 2010-01-11 13:51

Just thought I'd warn you, don't use while(1)
It is INCREDIBLY DANGEROUS

http://ubuntuforums.org/showpost.php?p=805826&postcount=10

Name: Anonymous 2010-01-11 14:00

Lol'd

BTW, why didn't anyone make a language with a loop construct which checks the condition in the middle of the loop? Like

{
  char *pos = strchr(str, old);
} while(pos) {
  *pos = new;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List