April 2022
Intermediate to advanced
1012 pages
38h 1m
English
Objectives
In this chapter, you’ll:
Use C++ object-oriented stream input/output.
Input and output individual characters.
Use unformatted I/O for high performance.
Use stream manipulators to display integers in octal and hexadecimal formats.
Specify precision for input and output.
Display floating-point values in scientific and fixed-point notation.
Set and restore the format state.
Control alignment and padding.
Determine the success or failure of input/output operations.
Tie output streams to input streams.
See many of C++20’s concise and convenient text-formatting capabilities, including presentation types to specify data types to format, positional arguments, field widths, alignment, numeric formatting ...