Lecture 3 - Slide 20 : 27 |
A manipulator is a distinguished operand accepted by the << and >> IO operators
A manipulator mutates the state of a stream
cout << 17 << endl << showbase << hex << 17 << endl << oct << 17 << endl;
![]() | Program output. |
![]() | Program output from the variant. |