This chapter covers recipes based on the console, streaming, and file I/O using the C++ Standard Library. We've been reading parameters into the programs we've written in other chapters but there are several other ways to do this. We'll deep dive into these topics and we will learn the alternatives, tips, and best practices for each with specific and dedicated hands-on recipes.
Once again, our main focus is to try to write system programming software by using C++ (and its standard library) as much as we can, so the code will have very limited C and POSIX solutions.
This chapter will cover the following topics:
- Implementing I/O to and from the console
- Manipulating I/O strings
- Working with files