Remarks

Manipulators are used in the stream to alter the formatting of the stream.

A reference to an object of type ios_base is returned to the stream. (The this pointer.)

Basefield manipulators Manipulator Definition ios_base& dec(ios_base&) format output data as a decimal ios_base& oct(ios_base&) format output data as octal ios_base& hex(ios_base&) format output data as hexadecimal