c++ operator variable code example
Example 1: operand-- c++
++x;
x+=1;
x=x+1;
Example 2: opperanf >> c++
packet >> rec1.getPosition().x >> rec1.getPosition().y;
Example 3: x += c++
int main ()
{
int a, b=3;
a = b;
a+=2; // equivalent to a=a+2
cout << a;
}