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

📄 managestudent.h

📁 大二时做的课程设计
💻 H
字号:
// ManageStudent.h: interface for the CManageStudent class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MANAGESTUDENT_H__431592BD_68F5_4479_874D_5569466A39ED__INCLUDED_)
#define AFX_MANAGESTUDENT_H__431592BD_68F5_4479_874D_5569466A39ED__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <string>
#include <vector>
#include "Student.h"
using namespace std;
class CManageStudent{
protected:
	static vector<CStudent> data;//存放学生原始成绩
	void OnBrower();//浏览数据
	void OnFind();//查找数据
	void OnInvalidateInput(char*);//输入错误提示
	void OnAddData();//添加数据
	bool OnSave();//保存
	CManageStudent*parent;
public:
	static string title[8];//课程名称
	static int wid[8];//打印宽度
	CManageStudent(CManageStudent*p=0):parent(p){}
	bool InitialData();//读入数据到内存
	virtual void ShowMenu();//显示菜单
	virtual void DoEvent(int ID);//响应用户输入
};


#endif // !defined(AFX_MANAGESTUDENT_H__431592BD_68F5_4479_874D_5569466A39ED__INCLUDED_)

⌨️ 快捷键说明

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