Skip to Main Content
Practical C++
book

Practical C++

by Rob McGregor
August 1999
Beginner to intermediate content levelBeginner to intermediate
912 pages
15h 44m
English
Que
Content preview from Practical C++

Chapter 32. Working with Files and Streams

<feature>
  • Understand stream objects and stream types

  • Discover how to use file streams

  • Use input and output streams

  • Create formatted stream output using manipulators

  • Use stream buffers and callbacks

</feature>

Working with Streams

Like its predecessor C, C++ doesn’t directly support input/output (I/O) operations as part of the base language as it does for object-oriented programming features such as inheritance and polymorphism, or generic programming such as templates. C++ directly supports these other features by keywords and architecture inherent to the language. As it was in C, I/O in C++ has been left up to programmers to define for themselves, using the base language features to implement it.

After more ...

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

Practical C++ Programming, 2nd Edition

Practical C++ Programming, 2nd Edition

Steve Oualline
C++ Cookbook

C++ Cookbook

D. Ryan Stephens, Christopher Diggins, Jonathan Turkanis, Jeff Cogswell

Publisher Resources

ISBN: 0789721449Purchase book