administrator.h

来自「程序功能: 1 管理员开设课程; 2 学生可以选择课程; 3 学生注册; 」· C头文件 代码 · 共 27 行

H
27
字号
//Administrator.h
#if !defined(ADMI_H)
#define ADMI_H
#include"teacher.h"
#include"course.h"
#include"password.h"
class Administrator
{
	char name[50];
    password pw;
	static Student *top;
public:

	void Aset()
	{
           cout<<"\t\t\t管理员设定"<<endl;
		   cout << "\t名字:" << flush;
		   gets(name);
		   cout<<"\t密码:"<<flush;
          pw.set();
	}
	void save();
	void manage();

};
#endif

⌨️ 快捷键说明

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