Tag Archives: cpp-manipulators

The setprecision() method of iomaip library in C++ is used to set the ios library floating point precision based on the precision specified as the… Read More
The () method of iomaip library in C++ is used to set the ios library format flags specified as the parameter to this method. Syntax:… Read More
The setfill() method of iomaip library in C++ is used to set the ios library fill character based on the character specified as the parameter… Read More
Manipulators are helping functions that can modify the input/output stream. It does not mean that we change the value of a variable, it only modifies… Read More
The setw() method of iomaip library in C++ is used to set the ios library field width based on the width specified as the parameter… Read More
The resetiosflags() method of iomaip library in C++ is used to reset the ios library format flags specified as the parameter to this method. Syntax:… Read More
The noshowpos() method of stream manipulators in C++ is used to clear the showbase format flag for the specified str stream. This flag displays the… Read More
The dec() method of stream manipulators in C++ is used to set the baseline format flag for the specified str stream. This flag sets the… Read More
The fixed() method of stream manipulators in C++ is used to set the floatfield format flag for the specified str stream. This flag sets the… Read More
The scientific() method of stream manipulators in C++ is used to set the floatfield format flag for the specified str stream. This flag sets the… Read More
The internal() method of stream manipulators in C++ is used to set the adjustfield format flag for the specified str stream. This flag sets the… Read More
The oct() method of stream manipulators in C++ is used to set the baseline format flag for the specified str stream. This flag sets the… Read More
The left() method of stream manipulators in C++ is used to set the adjustfield format flag for the specified str stream. This flag sets the… Read More
The hex() method of stream manipulators in C++ is used to set the baseline format flag for the specified str stream. This flag sets the… Read More
The right() method of stream manipulators in C++ is used to set the adjustfield format flag for the specified str stream. This flag sets the… Read More