Additional sample videos, individual lessons and other formats are available here.
Register your product to gain access to bonus material or receive a coupon.
Actual product comes full screen and in high resolution.
In this lesson, you will learn how to use a preprocessor wrapper to prevent multiple definition errors caused by including more than one copy of a header file in a source-code file. You will learn about class scope and accessing class members via the name of an object, a reference to an object or a pointer to an object. This lesson also shows you how to define constructors with default arguments; how destructors are used to perform “termination housekeeping” on an object before it is destroyed; when constructors and destructors are called; and the logic errors that may occur when a public member function of a class returns a reference to private data.