11
Input and Output
What you see is all you get.
– Brian W. Kernighan
11.1 Introduction
The I/O stream library provides formatted and unformatted buffered I/O of text and numeric values. It is extensible to support user-defined types exactly like built-in types and type safe.
The file system library provides basic facilities for manipulating files and directories.
An ostream converts typed objects to a stream of characters (bytes):
An istream converts a stream of characters ...
Get A Tour of C++, 3rd 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.