定义一个描述学生基本情况的类Student,数据成员包括姓名、学号、英语成绩和高数成绩;成员函数包括构造函数、析构函数、获取姓名、获取学号、求出平均成绩,以及显示各科成绩和平均成绩的显示函数。编写main函数进行测试。
Student.h
#include<iostream>
#include<cstring>
using namespace std;
class Student {
private:
char name[18];//姓名
int num;//学号
int mathScore, englishScore;//高数成绩,英语成绩
static int count, mathTotalScore, englishTotalScore;//人数,数学总,英语总
public:
Student(const char* nm, int nu, int math, int english) :num(nu), mathScore(math