for loop (thing)
Dec. 11th, 1999 11:17 amIn [Pascal], a for loop is [intuitive]. It would look something like this:
For I [:=] 1 to 100 do [begin]
(Stuff to do)
[end];
In [C] or [C++], on the other hand, the same for loop would look like:
for(I = 1,I < 100, I++)[{]
(Stuff to do)
[}]
Which makes a for loop nothing more than a confusing [while loop].