application.h

来自「简易学生管理系统,有删除添加查找编辑修改等功能」· C头文件 代码 · 共 34 行

H
34
字号
#ifndef  APPLICATION_CLASS
#define  APPLICATION_CLASS

#include "Student.h"

class Application
{
private:
	Student s[100];
	int stuNumber;

private:
	int Find(unsigned int id);
	int Find(char* name);

	void Update(unsigned int id);
	void Update(char* name);

	void Add();

	void Sort();

	void Save();
	void Load();

public:
	Application(int n = 0) {stuNumber = n;}
	
	void PrintMenu() const;
	void Process();
	int  GetResponse() const;
};

#endif //APPLICATION_CLASS

⌨️ 快捷键说明

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