Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The <iomanip> header declares several I/O manipulators. An I/O manipulator is a function object that can be used in a sequence of input or output operators to manipulate the I/O stream. The manipulators are simple wrappers for functionality that is available as member functions of the ios_base class, but manipulators are simpler to use in some situations.
For example, to print formatted output, the following two code fragments are equivalent: