Skip to Content
C++ How to Program, Ninth Edition
book

C++ How to Program, Ninth Edition

by Paul Deitel, Harvey Deitel
February 2013
Beginner to intermediate
1080 pages
47h 53m
English
Pearson
Content preview from C++ How to Program, Ninth Edition

13. Stream Input/Output: A Deeper Look

Consciousness ... does not appear to itself chopped up in bits ... A “river” or a “stream” are the metaphors by which it is most naturally described.

—William James

Objectives

In this chapter you’ll learn:

• To use C++ object-oriented stream input/output.

• To format input and output.

• The stream-I/O class hierarchy.

• To use stream manipulators.

• To control justification and padding.

• To determine the success or failure of input/output operations.

• To tie output streams to input streams.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ How to Program, Sixth Edition

C++ How to Program, Sixth Edition

P. J. Deitel - Deitel & Associates, Inc., H. M. Deitel - Deitel & Associates, Inc.
C++ How to Program, 10/e

C++ How to Program, 10/e

Paul Deitel, Harvey Deitel

Publisher Resources

ISBN: 9780133378795Purchase book