O'Reilly logo

C How to Program, Fifth Edition by H. M. Deitel - Deitel & Associates, Inc., P. J. Deitel - Deitel & Associates, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 26. Stream Input/Output

 

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
 

All the news that’s fit to print.

 
 --Adolph S. Ochs
 

Remove not the landmark on the boundary of the fields.

 
 --Amenehope
<feature><title>Objectives</title>

In this chapter you will learn:

<objective>

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

</objective>
<objective>

To format input and output.

</objective>
<objective>

The stream-I/O class hierarchy.

</objective>
<objective>

To use stream manipulators.

</objective>
<objective>

To control justification and padding.

</objective>
<objective>

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

</objective> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required