Chapter 10: | How To Define Member Functions |
In this chapter, you learn how you can define a class-specific function inside a class definition. Such functions become part of the class definition, and they are called in a special way that reflects their class membership.