This page explains how to use C++ Stream Mainpulaters.
| Operator |
Description |
| setprecision(n) |
Sets the precision of a floating-point number. |
| fixed |
Displays floating-point numbers in fixed-point notation. |
| showpoint |
Causes a floating-point number to be displayed with a decimal point with trailing zeros even if it has no fractional part. |
| setw(width) |
Specifies the width of a print feild. |
| left |
Aligns the output to the left. |
| right) |
Aligns the output to the right. |