Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,680

    Re: question on calculating

    Yes its confusing. There is a timing of when this part happens and when that part happens.
    If you want to see the order of the steps, have the compiler output the code it generates. I forget the...
  2. Replies
    5
    Views
    1,680

    Re: question on calculating

    The post fix ++ increments the variable AFTER the variable's current value has been used in the expression.
    i += i++; // add value of i to i then incr i by one

    As you can see this is very...
Results 1 to 2 of 2