- Category:
- Other Resource
- Tags:
-
- File Size:
- 22kb
- Update:
- 2017-11-24
- Downloads:
- 0 Times
- Uploaded by:
- 朱杰
Description: Define a car (vehicle) base class, with Run, Stop and other member functions, derived from the bicycle (bicycle) class, car (motorcar) class, derived from bicycle and motorcar motorcycle (motorcycle) class, they all have Run, Stop and other member functions. Observe the function of virtual function. The people class overload "on the second experiment and the = =" operator "=" operator "= =" operator to judge ID properties of two people class objects are equal; "=" operator to achieve the object of the people class assignment.
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
lab5_3.cpp | 1042 | 2017-11-01
|
C++程序设计实验指导书2017.doc | 103424 | 2017-09-28 |