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

noob c++

Name: Anonymous 2010-10-05 20:41

/g/ doesn't like beginners ;_;

what is the purpose of the for-loop in this program?
i had to make a program to order a couple numbers, and it works, but i'm not sure why the purpose the for-loop has (i know what a for loop is, just not why i need it here)

http://pastebin.com/8Aarr5Ni

Name: Anonymous 2010-10-06 18:21

>>14
I always write for (;;) {...} loops, so I get to check at the condition anytime I want, even multiple times, and can select whether it's a while loop or a repeat block with break or continue.

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