Share via


<iomanip>

Include the iostreams standard header <iomanip> to define several manipulators that each take a single argument.

#include <iomanip>

Remarks

Each of these manipulators returns an unspecified type, called T1 through T10, that overloads both basic_istream<Elem, Tr>::operator>> and basic_ostream<Elem, Tr>::operator<<.

Manipulators

get_money

Obtains a monetary amount, optionally in international format.

get_time

Obtains a time in a time structure by using a specified format.

put_money

Provides a monetary amount, optionally in international format.

put_time

Provides a time in a time structure and a format string to use.

resetiosflags

Clears the specified flags.

setbase

Set base for integers.

setfill

Sets the character that will be used to fill spaces in a right-justified display.

setiosflags

Sets the specified flags.

setprecision

Sets the precision for floating-point values.

setw

Specifies the width of the display field.

See Also

Reference

Thread Safety in the C++ Standard Library

iostream Programming

iostreams Conventions

Other Resources

C++ Standard Library Header Files