C++ Library - <iomanip>



Introduction

iomanip is a library that is used to manipulate the output of C++ program. Using C++, header providing parametric manipulators as shown below −

Parametric manipulators

Below are the Parametric manipulators −

Sr.No.Method & description
1setiosflags

It is used to Set format flags.

2resetiosflags

It reset format flags.

3setbase

It is used to set basefield flag.

4setfill

It is used to set fill character.

5setprecision

It is used to set decimal precision.

6setw

It is used to set field width.

7get_money

It is used to get monetary value.

8put_money

It is used to put monetary value.

9get_time

It is used to get date and time.

10put_time

It is used to put date and time.