Search:

Type: Posts; User: tabstop

Search: Search took 0.09 seconds.

  1. Replies
    91
    Views
    18,241

    Pre-post increment doesn't wait that long, only...

    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
  2. Replies
    91
    Views
    18,241

    So change your condition to something else. ...

    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...
Results 1 to 2 of 2