Chapter 21. Streams
What you see is all you get. | ||
--Brian Kernighan |
Input and output — ostreams — output of built-in types — output of user-defined types — virtual output functions — istreams — input of built-in types — unformatted input — stream state — input of user-defined types — I/O exceptions — tying of streams — sentries — formatting integer and floating-point output — fields and adjustments — manipulators — standard manipulators — user-defined manipulators — file streams — closing streams — string streams — stream buffers — locale — stream callbacks — printf
()
— advice — exercises.
Introduction
Designing and implementing a general input/output facility for a programming language is notoriously difficult. Traditionally, I/O facilities have ...
Get The C++ Programming Language, Special Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.