T
Toby Newman
At the page:
http://www.strath.ac.uk/IT/Docs/Ccourse/subsection3_8_3.html#SECTION0008300000000000000
or
http://tinyurl.com/4ptzs
the author warns:
"The for loop is frequently used, usually where the loop will be
traversed a fixed number of times. It is very flexible, and novice
programmers should take care not to abuse the power it offers."
Could someone give an example of this abuse? I'm googling for
c misuse "for loop"
c abuse "for loop"
with little luck.
I'd like to see what *not* to do
Toby
http://www.strath.ac.uk/IT/Docs/Ccourse/subsection3_8_3.html#SECTION0008300000000000000
or
http://tinyurl.com/4ptzs
the author warns:
"The for loop is frequently used, usually where the loop will be
traversed a fixed number of times. It is very flexible, and novice
programmers should take care not to abuse the power it offers."
Could someone give an example of this abuse? I'm googling for
c misuse "for loop"
c abuse "for loop"
with little luck.
I'd like to see what *not* to do
Toby