Saturday, January 28, 2017

C++ Library -

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 −
S.N. Method & description
1 setiosflags It is used to Set format flags.
2 resetiosflags It reset format flags.
3 setbase It is used to set basefield flag.
4 setfill It is used to set fill character.
5 setprecision It is used to set decimal precision.
6 setw It is used to set field width.
7 get_money It is used to get monetary value.
8 put_money It is used to put monetary value.
9 get_time It is used to get date and time.
10 put_time It is used to put date and time.

No comments:

Post a Comment