simple for statement can't work!
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
this code cant seem to work properly.... //blah blah code if (nCount > 0) { int nLevel; for (nLevel=0; nLevel<=3; nLevel++); // after this line, the value of nLevel becomes 4, why???? { //blah //blah :confused: :confused: :confused: :confused:
Remove the semi-colon from the end of the for statement.