Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at <iomanip>.

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

#include <iomanip>  

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<<.


get_moneyObtains a monetary amount, optionally in international format.
get_timeObtains a time in a time structure by using a specified format.
put_moneyProvides a monetary amount, optionally in international format.
put_timeProvides a time in a time structure and a format string to use.
quotedEnables convenient round-tripping of strings with insertion and extraction operators.
resetiosflagsClears the specified flags.
setbaseSet base for integers.
setfillSets the character that will be used to fill spaces in a right-justified display.
setiosflagsSets the specified flags.
setprecisionSets the precision for floating-point values.
setwSpecifies the width of the display field.

Header Files Reference
Thread Safety in the C++ Standard Library
iostream Programming
iostreams Conventions

© 2017 Microsoft