Definitions

A class is a user defined type.

A class interface tells the compiler what facilities the class provides. This interface is usually found in a header file, which by convention has the extension .h.

A class implementation tells the compiler how to implement the facilities defined in the class interface. This is usually found in a source code file, which in the case of the compiler on the CD-ROM in the back of this book usually has the extension .cc.

An object is a variable of a class type. Its behavior is defined by the header file and implementation of the class.

A member function is a function that is part of the definition of a class.

A member variable is a variable that is part of the definition of a class.

Object-oriented ...

Get Learning to Program in C++ 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.