Home »
C++ programs
C++ Manipulators programs
This section contains solved programs on C++ Manipulators, here you will find programs on endl manipulators, setw manipulators, setfill manipulators, setprecision manipulators, setbase manipulators etc.
List of C++ Manipulators programs
- C++ program to demonstrate example of endl manipulator.
endl manipulator is used to print new line in C++, in this program, we will learn how endl should be used?
- C++ program to demonstrate example of setw manipulator.
setw manipulator is used to set width of the output string/value in C++, in this program, we will learn how setw should be used?
- C++ program to demonstrate example of setfill manipulator.
setfill manipulator is used for filling the padded value/string in C++, in this program, we will learn how setfill should be used?
- C++ program to demonstrate example of setprecision manipulator.
setprecision manipulator is used for printing the float values with the given number of digits after the decimal point C++, in this program, we will learn how setprecision should be used?
- C++ program to demonstrate example of setbase manipulator.
setbase manipulator is used for printing the values on other bases like octal, hexadecimal etc C++, in this program, we will learn how setbase should be used?