Chapter 33: | How To Write Member Functions that Call other Member Functions |
Ordinarily, you supply a member function with a class object by writing the name of the class object, followed by the class-member operator, followed by the name of the member function. In this chapter, you learn how to pass along such a class object from a directly called member function in one class to an indirectly called member function.