Description: a class called CPersonInfo protection attributes are the following: name, ID number, gender and age, please use the C++ language definition of this class, and define the appropriate method for the above property. Then derived from CPersonInfo class class CEmployeeInfo (employees), the derived class CEmployeeInfo added two new data members, and wages were used to represent the department. CEmployeeInfo derived class constructor requires an explicit call to the base class constructor CPersonInfo, you can add new derived class member functions as needed.
To Search:
File list (Check if you may need any files):
5_8\5_8.cpp
...\5_8.dsp
...\5_8.dsw
...\5_8.ncb
...\5_8.opt
...\5_8.plg
...\Debug\5_8.exe
...\.....\5_8.ilk
...\.....\5_8.obj
...\.....\5_8.pch
...\.....\5_8.pdb
...\.....\vc60.idb
...\.....\vc60.pdb
...\Debug
5_8