English Please?(help with a typo)

So, i've run across what's obviously a typo, but unfortunately I can't figure out what it's supposed to say. This is coming from the C++ tutorial on operators, can anyone help me out here?

"In the case that the increase operator is used as a prefix (++x) the value, the expression evaluates to the final value of x, once it is already increased. On the other hand, in case that it is used as a suffix (x++) the value stored in x the expression evaluates to the value x had before being increased. Notice the difference:"

There's some syntax issues here, and I think commas are to blame. Unfortunately, I don't know enough about the subject matter to figure out what it's supposed to be saying. Can anyone help me out a bit?
If you use the prefix ++x form... the "new" value is returned.
If you use the postfix x++ form... the "old" value is returned.

Example:

1
2
3
4
5
6
7
8
9
int x, y;

x = 0;
y = ++x;
cout << x << ',' << y << endl;  // prints 1,1

x = 0;
y = x++;
cout << x << ',' << y << endl;  // prints 1,0 
Pretty much this:

Prefix(++x): increment value of x then return x
Postfix(x++):return x then increment x

here is an example:

1
2
3
4
5
6
int a = 10;
int b = 0;

a += ++b;//increment b then add to a; so 10 + 1 so a = 11, b=1
a += b++; //add to a then increment b so 11 + 1 so a = 12, b=2
a += b; //add to a so 12 + 2 so a = 14, b = 2 
Topic archived. No new replies allowed.