In this chapter you’ll:
Engineer a class to separate its interface from its implementation and encourage reuse.
Access class members via an object’s name or a reference using the dot (
Access class members via a pointer to an object using the arrow (
Use destructors to perform “termination housekeeping.”
Learn the order of constructor and destructor calls.
Learn about the dangers of returning a reference or a pointer to
Assign the data members of one object to those of another object.
Create objects composed of other objects.
friendfunctions and learn how to declare
thispointer in a member function to access a non-
staticclass member. ...