The course is part of this learning path
This course covers file input/output (file I/O). Being able to read from and write to secondary storage is important because often we want to keep some data persistently. By the end of this course, you will have the skills necessary to do this.
Learning Objectives
- Understand the fundamentals of both file input and file output and how to use both in tandem
- Use stream manipulators to make the structure of the data more organized
- Use dynamic memory, pointers, and classes to make more complex and interesting applications
Intended Audience
- Beginner coders, new to C++
- Developers looking to upskill by adding C++ to their CV
- College students and anyone studying C++
Prerequisites
To get the most out of this course, you should have a basic understanding of the fundamentals of C++.
In this section, we've covered a lot of information. This certainly wasn't one of the longest sections, but it was still filled with lots of information that is essential for working with the C++ programming language. We specifically discussed the fundamentals of both file input and file output and also learned how to use both in tandem. We also used stream manipulators to make the structure of the data more organized. In projects, we built upon the knowledge we already had about dynamic memory and pointers as well as classes in order to make more complex and interesting applications. I hope this section gave you a good and practical introduction to file input and output. For most purposes, the knowledge you've gained from this section will be sufficient for file interaction. So, you can build safely on this strong foundation that we've been working on. Now that we've had some time to work with classes in different scenarios and to add more skills to our toolbox, even having a short introduction to inheritance in the section on exceptions, you are now ready to take on more object-oriented programming concepts and syntax. In the next section, we will do just that. Let's get going with inheritance and polymorphism. I'll see you there.
John has a Ph.D. in Computer Science and is a professional software engineer and consultant, as well as a computer science university professor and department chair.