Description: A. Write a program, define a personnel class to CPerson, including the data members: name, number, gender, and member functions for input and output. Derived on this basis the students the class Cstudent (increase results) and teachers class Cteacher (increasing seniority), and students and teachers, information input and output. Two. Write programs, design a car class vehicle, including the data members of wheel re-weigh the number of wheels and car, with the parameters of the constructor, copy constructor, data member set function Set (), data members of the display function show (). The car class car is a vehicle derived class which contains manned number passenger_load program. The truck of the truck class derived class of vehicle which contains the manned the number passenger_load and the load of the payload. Each class has a data output method.
To Search:
File list (Check if you may need any files):
class.doc