cssinc
08-26-00, 11:45 PM
The following code should print out the numbers from 0-9, but it prints instead the numbers 0-10.<p>¦ stdout = fopen (FOR_out);<br>¦ i = 0;<br>¦ while (i < 10)<br>¦ {<br>¦ fprintf (stdout, "%u\n", i);<br>¦ i ++;<br>¦ }<p>Already know of the bug in the "for" loop. Any of the loops working in SMALLC the way they are supposed to?<p>----------<br>Thanks<br>Oliver<br>