📄 student.h
字号:
#ifndef _STUDENT_H_
#define _STUDENT_H_
#include <string>
class CStudent
{
private:
std::string strName ;
double chinese ;
double math;
double english;
public:
CStudent();
CStudent(std::string Name,double c,double m,double e);
void SetChinese(double a);
void SetMath(double a);
void SetEnglish(double a);
void SetName(std::string c);
std::string returnName();
double returnChinese();
double returnMath();
double returnEnglish();
double returnTotalPreformance();
double returnAverage();
~CStudent(){}
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -