Lesson 9. Classes and Objects
So far you have explored simple programs that start execution at
main(), comprise local and global variables and constants, and feature execution logic organized into function modules that take parameters and return values. Our programming style thus far has been procedural, and we haven’t observed an object-oriented approach yet. In other words, you need to now learn the basics of object-oriented programming using C++.
In this lesson, you learn
What classes and objects are
How classes help you consolidate data with ...