Description: 1 define an abstract class student CStudent, it has a public member function Average (), this function is used to calculate the student s average points function as virtual function definition of a liberal arts student class CStudentLiberalArts, it is the class CStudent derived class, and public be derived, which has members are:
1) Save English, shaping member variables politics, mathematics, geography and history, art achievements
2) Set the above variables public member function
3) public member function of the output of the variable
4) public member function Average () is used to calculate the average student s points
The definition of a science student class CStudentScience, it is the class CStudent derived class, and public manner derived, which has members as follows:
1) Save English, physics, mathematics, chemistry and computer programming achievement shaping member variables
2) Set the above variables public member function
3) public member function of t
To Search:
File list (Check if you may need any files):
6_1\6_1\6_1.vcxproj
...\...\6_1.vcxproj.filters
...\...\6_1.vcxproj.user
...\...\main.cpp
...\6_1.sln
...\6_1.suo
...\ipch\6_1-a8ee9fb9\6_1-1b23f512.ipch
..2\6_2\6_2.vcxproj
...\...\6_2.vcxproj.filters
...\...\6_2.vcxproj.user
...\...\main.cpp
...\6_2.sln
...\6_2.suo
...\ipch\6_2-ffa3fc3c\6_2-1b360d93.ipch
...\Output-Build.txt
..1\ipch\6_1-a8ee9fb9
..2\ipch\6_2-ffa3fc3c
..1\6_1
...\ipch
..2\6_2
...\ipch
6_1
6_2