📄 h10.h
字号:
#ifndef h10_h
#define h10_h
#include<iostream>
#include<string.h>
using namespace std;
class Student
{
private:
int number; //学号
char* name; //姓名
double math,C_Object,english; //考试分数
public:
Student(char* name_=NULL,int num=0,double math_=0,double C_Object=0,double english_=0);
Student(Student& temp);
~Student();
void NunmbeShow()const; //学号查询
void NameShow()const; //姓名查询
void MarchShow()const; //成绩查询
double ToalMarch(); //总成绩
double AverageMarch(); //平均成绩
void StudentMessage()const; //学生信息
Student& operator=(const Student& temp);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -