⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 student.h

📁 简易学生管理系统,有删除添加查找编辑修改等功能
💻 H
字号:
#ifndef  STUDENT_CLASS
#define  STUDENT_CLASS

#include <iostream>
using namespace std;

class Application;

class Student
{
	friend class Application;

private:
	unsigned int	id;
	char			name[80];
	char			gender;
	unsigned int	age;
	double			score;

public:
	Student(unsigned int i = 0, char* n = "", char g = 0, unsigned int a = 0, double s = 0);

	bool operator < (const Student& rhs);

	friend ostream& operator << (ostream& os, const Student& rhs);
	friend istream& operator >> (istream& is, Student& rhs);

};

#endif // STUDENT_CLASS

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -