c++ operations code example
Example 1: c++ .* operator
The .* operator is used to dereference pointers to class members.
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;
}