The design and implementation of some typical class in cpp. The important is the interface of the class.