Dec. 11th, 1999

jes5199: (Default)
In [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].

March 2016

S M T W T F S
  12345
67891011 12
13141516171819
20212223242526
2728293031  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 1st, 2025 10:49 pm
Powered by Dreamwidth Studios