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

📄 application.h

📁 基于链表模板的学生成绩管理系统
💻 H
字号:
# ifndef APPLICATION_CLASS
# define APPLICATION_CLASS

# include "List.h"
# include "Student.h"

# include <algorithm>
# include <vector>
# include <iterator>

using namespace std;

struct sm
{
	string sname;
	double avg;
	friend ifstream& operator>>(ifstream& in,sm& s)\
	{
		in>>s.sname;
		in>>s.avg;
		return in;
	}
};

static vector<sm> stu_mean;

static vector<Student> stu_bad;

class Application
{
public:
	Application(){}
	void Run();
	void AddData();
	void Read();
	void Save();
	void Find();
	void Delete();
	void Sort();
	void Print();
	void Analyse();
private:
	List<Student> l;
};


# endif

⌨️ 快捷键说明

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