Quote (AbDuCt @ Mar 18 2013 12:54pm)
this. leaving out the condition will cause the loop to go into a infinite loops. and since some people want to do this on purpose (for gui's, listener sockets on servers, parsing) they can just short hand it for for(;;) even though if you accedently do for(int i = 0;;i++) it will cause an infinite loop as well.
if you declared an int and incremented it in an "infinite" for loop, would it eventually crash once it exceeded int's range being 2,147,483,647? Would take a while but still..
This post was edited by SelfTaught on Mar 18 2013 06:05pm