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.