3. Introduction to Classes and Objects

Objectives

In this chapter you’ll learn:

Image  What classes, objects, member functions and data members are.

Image  How to define a class and use it to create an object.

Image  How to define member functions in a class to implement the class’s behaviors.

Image  How to declare data members in a class to implement the class’s ...

Get C++ for Programmers: Deitel now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.