Day 6. Understanding Object-Oriented Programming

Classes extend the built-in capabilities of C++ to assist you in representing and solving complex, real-world problems.

Today, you will learn

• What classes and objects are

• How to define a new class and create objects of that class

• What member functions and member data are

• What constructors are and how to use them

Is C++ Object-Oriented?

At one point, C, the predecessor to C++, was the world’s most popular programming language for commercial software development. It was used for creating operating systems (such as the Unix operating system), for real-time programming (machine, device, and electronics control), and only later began to be used as a language for programming conventional languages. ...

Get Sams Teach Yourself C++ in 21 Days , Fifth 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.