Contents|Index|Previous|Next
Changing stream properties using manipulators

For convenience, manipulators provide a way to change certain properties of streams, or otherwise affect them, in the middle of expressions involving << or >>.

For example, you might use the following input statement to produce |**234| as output.

Manipulators that take an argument require #include <iomanip.h>.

Top|Contents|Index|Previous|Next