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

c code story

Name: Anonymous 2011-12-25 0:50

this one time i went to these guys and i wall all "hey guys check out my c code" and they were all "dude your code sucks" and i was all "no dude nothing is wrong with my code" and then the guy was all "you used a break statement in nested while loops" so i said to him i says "dude thats totally legit" and hes all "dude your noob programmer if you compile that in a very specific way then there is a chance that the code wont work" so i told him right to his face that he is a faggot and wrong because my code worked and i didn't care if it wouldn't work compiled that way because maybe i won't compile it that way

and thats my story i hope you enjoyed it

Name: Anonymous 2011-12-25 23:39

>>26

But the while loop has to check that 1 == 1 each time it runs through the loop, whereas the for loop doesn't. So the while loop does 13 operations, whereas the for loop only does 8 operations.

A problem with the for loop is that the compiler will optimise the loop away, because it does nothing.

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