Manipulators

Manipulators are used to manage the output stream and to modify the user output. Different manipulators are used to set different output formats. Manipulators are operator that are used to format the data display. The most commonly manipulators are endl and setw. To use various manipulators in C++ program <iomanip.h> header file is compulsory to include. List of Manipulators endl setw setfill internal setprecision showpoint fixed scientific endl – endline manipulator The endl manipulator, when used in an output statement, causes a line feed to be insert. Just like a…

Read More