-
Category : CSharp
Tags :
- Update : 2015-06-04
- Size : 1kb
- Downloaded :0次
- Author :liy***
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
Defining Teacher class Cadre of the Teacher and the class Cadre, respectively with the method of multiple inheritance by the two classes derive new Teacher_Cadre cadres (Teacher and class). Requirements:
(1) in the two base class contains name, age, gender, address, telephone, data members.
(2) the Teacher class also contains the data member title title, also contains data members in the class Cadre duty post, Teacher_Cadre class also contains the data members pay wage.
(3) of two base class name, age, gender, address, telephone, data members with the same name, on a visit to the class data members, the specified scope.
(4) in a class member function declaration in the body, outside the class define a member function.
(5) in the derived class member functions Teacher_Cadre show called the Teacher in the class the display function, the output name, age, gender, address, telephone, and then use cout statement output position and salary.
Packet file list
(Preview for download)
2.3.cpp
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information