student.h
来自「文件包含了很多VC实例」· C头文件 代码 · 共 27 行
H
27 行
#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 + =
减小字号Ctrl + -
显示快捷键?