Skip to content

Commit 85b3236

Browse files
authored
Update using-insertion-operators-and-controlling-format.md (#5130)
Changed the `setw` width value from 6, to 7, in the worded explanation to accurately reflect the example code provided.
1 parent 618e485 commit 85b3236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard-library/using-insertion-operators-and-controlling-format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ int main( )
8787
}
8888
```
8989
90-
The `width` member function is declared in `<iostream>`. If you use `setw` or any other manipulator with arguments, you must include `<iomanip>`. In the output, strings print in a field of width 6 and integers in a field of width 10:
90+
The `width` member function is declared in `<iostream>`. If you use `setw` or any other manipulator with arguments, you must include `<iomanip>`. In the output, strings print in a field of width 7 and integers in a field of width 10:
9191
9292
```Output
9393
Zoot 1.23

0 commit comments

Comments
 (0)