Pre-post increment doesn't wait that long, only to the end of the statement. More like this:
int i = 5;
int j = i++; // now j is 5 and i is 6
int k = ++i; // now k is 7 and i is 7
Type: Posts; User: tabstop
Pre-post increment doesn't wait that long, only to the end of the statement. More like this:
int i = 5;
int j = i++; // now j is 5 and i is 6
int k = ++i; // now k is 7 and i is 7
So change your condition to something else. (You'll want to make sure that something happens in the loop so that your loop will eventually stop -- otherwise you'll get an infinite loop.)
Normally...