Sams Teach Yourself C++ in 21 Days

(singke) #1

DAY 6


WEEK 1

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 pro-
gramming language for commercial software development. It was used for cre-
ating operating systems (such as the Unix operating system), for real-time
Free download pdf