"and" "or" C++ operators code example Example: opperanf >> c++ packet >> rec1.getPosition().x >> rec1.getPosition().y;