August 2001
Beginner
482 pages
10h 52m
English
Every class method that you declare must also be defined.
A member method (or member function) definition begins with the name of the class and is then followed by two colons, the name of the function, and its parameters. |
A member method (or member function) definition begins with the name of the class followed by two colons, the name of the function, and its parameters. Listing 7.1 shows the complete declaration of a simple Cat class and the implementation of its accessor function and one general class member function. ... |
Read now
Unlock full access