© Peter Van Weert and Marc Gregoire 2016Peter Van Weert and Marc GregoireC++ Standard Library Quick Reference10.1007/978-1-4842-1876-1_5
5. Stream I/O
Peter Van Weert1 and Marc Gregoire2
The C++ stream-based I/O library allows you to perform I/O operations without having to know details about the target to or source from which you are streaming. A stream’s target or source could be a string, a file, a memory buffer, and so on.
The stream classes provided by the Standard Library are organized in a hierarchy and a set of headers, as shown in Figure 5-1.
The hierarchy of ...