📄 application.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 + -