cstudent.h

来自「软件课程设计(1) 是一些非常经典的程序」· C头文件 代码 · 共 23 行

H
23
字号
#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 + =
减小字号Ctrl + -
显示快捷键?