📄 cstudent.h
字号:
#include <iostream.h>
class CStudent
{
friend ostream& operator << (ostream&,CStudent&); //流输出重载
public:
void inRecord(int);
bool searchByNum(int,int);
bool searchByName(char *,int);
void someScore();
void AboutTotalScore(int);
private:
int num;
char name[20];
char sex;
int age;
float mathScore;
float computerScore;
float EnglishScore;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -