#ifndef _INCLUDE_STUDENTA_H_ #define _INCLUDE_STUDENTA_H_ #include "student.h" class StudentA : virtual public Student { private: int kadai3; public: StudentA() : Student("", 0, 0), kadai3(0) { SetName(""); cout << "StudentA()" << endl; } StudentA(const char* name, int k1, int k2, int k3) : Student(name, k1, k2), kadai3(k3) { cout << "StudentA(" << name << "," << k1 << "," << k2 << "," << k3 << ");" << endl; } void SetKadai3(int k3) { kadai3 = k3; } int GetKadai3() { return kadai3; } int GetSum(); void CalcAve(); }; #endif