or operator inc++ code example
Example 1: operand-- c++
++x;
x+=1;
x=x+1;
Example 2: opperanf >> c++
packet >> rec1.getPosition().x >> rec1.getPosition().y;
++x;
x+=1;
x=x+1;
packet >> rec1.getPosition().x >> rec1.getPosition().y;