August 2001
Beginner
482 pages
10h 52m
English
In this hour you learned more about creating classes.
You learned how to create constant member functions, and the differences between a class's interface and the implementation of a class's methods.
It is good programming practice to isolate the interface—or declaration—of the class in a header file. You usually do this in a file with an .HPP extension. The implementation of the class methods is written in a file with a .CPP extension.
Read now
Unlock full access