The compound assignment operators are +=, -=, *=, /=, %=, >>=, <<=, &=, ^=, |=, and they have the same effect as normal operators, but on the variable they are changing. For instance, a += b; would be the same as a = a + b;. http://www.cplusplus.com/doc/tutorial/operators/
//I was thinking:
int a = b = c = 3;
//which is the same as...
int a = 3, b = 3, c = 3;
//which is the same as.....
int a = 3;
int b = 3;
int c = 3;
//which is the same as.......
int a;
a = 3;
int b;
b = 3;
int c;
c = 3;