The Shift Operators
The shift operators are overloaded in exactly the same fashion as the binary arithmetic operators.
cout << "m " << m << " n " << n << " average " << (n+m)/2.0 << '\n';
Previous slide
Next slide
Back to first slide
View graphic version