Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
No, in terms of the loop condition it means: while (i != 0). Then you consider that there is a post-decrement in effect.very true but as im new to this i dont understand how the condition ( ; i-- ; )
does it mean if ( i ) is one less than the previous loop?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
im still confused how for(i=nc; i--; ) is the same as while(i != o)
is there a link you know that i could read up on that?
Last edited by thestien; 05-09-2008 at 04:17 PM.