- Category:
- File Formats
- Tags:
-
[WORD]
- File Size:
- 93kb
- Update:
- 2015-12-31
- Downloads:
- 0 Times
- Uploaded by:
- 谭永和
Description: Declare a class a base class circle, including members of the data radius R have member functions: a constructor to initialize the base class members realize the data, calculate the area of a circle member function, the output member functions required output radius R. The round class as a base class, through public inheritance, derived cylinder class, the derived class member data new high (H) new member functions have a constructor, to calculate the volume of a cylinder function, the output function of all members. main () test to complete the derived class object definitions and related functions
To Search:
File list (Check if you may need any files):
e_e22.doc