O'Reilly logo

Sams Teach Yourself C++ in One Hour a Day, Eighth Edition by Siddhartha Rao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required