13. Stream Input/Output: A Deeper Look

Objectives

In this chapter you’ll:

• Use C++ object-oriented stream input/output.

• Format input and output.

• Learn about the stream-I/O class hierarchy.

• Use stream manipulators.

• Control justification and padding.

• Determine the success or failure of input/output operations.

• Learn to tie output streams to input streams.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.