Description: The first definition of "point" Point, "points" class derived from the "Circular" class of Circle, then the "Circular" class generation "cylinder" cylinder. Attribute class circle center and radius (the pointer type constructor, destructor) method, display area and calculate the area. New attribute cylinder is high, a constructor, destructor method, display size and volume calculation. The application of class: create a cylinder type, display information, and its volume. The class definition and implementation and main function to multi file organization.
To Search:
File list (Check if you may need any files):
2.cpp