Title:
Declarate-class-Teacher-and-Cadre Download
Description: By the use of multiple inheritance classes and Teacher Cadre class to derive new classes Teacher_Cadre:
Claim:
1, two base classes are included name, age, gender, telephone and other data members
2, the data contained in the Teacher class member title, contains data members post in Cadre class contains data members class wages in Teacher_Crade
3, two base class name, age, sex, address and telephone number data members with the same name, specify the scope when referencing these data members
4, declare member functions in a class body, defined outside the class member functions
5, call the Teacher class display function, output name, age, gender, job title, address, telephone in the derived class member function Teacher_Crade show, and then use the cout statement output job and wages
To Search:
File list (Check if you may need any files):
Declarate class Teacher and Cadre.cpp