6. Streams and I/O
Learning Objectives
By the end of this chapter, you will be able to:
- Write and read data to/from files or the console using the Standard I/O Library
- Format and parse data using the in-memory I/O interface
- Extend standard I/O streams for user-defined types
- Develop applications that use the I/O Standard Library from multiple threads
In this chapter, we'll develop flexible and maintainable applications using the I/O Standard Library, work with streams, learn how the I/O library can be used in multithreaded applications, and finally learn to format and parse data using the Standard Library.
Introduction
In the previous chapter, we covered one of the most challenging topics – concurrency in C++. We looked at the main ...
Get Advanced C++ 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.