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

Image What classes and objects are

Image How classes help you consolidate data with ...

Get Sams Teach Yourself C++ in One Hour a Day, Eighth Edition 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.