(1):定义一个学生类CStudent //定义学生类 student.h class CStudent { public: CStudent(char * id="",char *na="",int us=0,int ts=0);//构造函数 CStudent(const CStudent &s); ~CStudent(); char* GetID(); double GetTotalScore(); //取得总评成绩 static void Tablehead();