James [on his mailserver] wrote:
>
> why doesn't this work:
>
> {
> int c;
>
> for (c=0; c==9; c++)
> /* something */
> }
>
> i tried it once and it didn't work as expected (i can't remember what
> happened, it either looped for ever, or just skipped it).
>
What did you expect it to do? c is set to 0. then it tests to see if
c==9. this test returns false and the program immediately drops from
the loop without executing the body of the loop even once.
--
email: [EMAIL PROTECTED]
Local mailserver <landreau.ruffe.edu> , remote <ns.computer.net>
Myrtle, the Turtle...Myrtle, the turtle...You gotta destroy that
trade!!