SPECIAL OFFERS
Keep up with new releases and promotions. Sign up to hear from us.
Register your product to gain access to bonus material or receive a coupon.
Accessible from your Account page after purchase. Requires the free QuickTime Player software.
Videos can be viewed on: Windows 8, Windows XP, Vista, 7, and all versions of Macintosh OS X including the iPad, and other platforms that support the industry standard h.264 video codec.
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.