📄 classes.h
字号:
#ifndef CLASSES_H
#define CLASSES_H
class people//人员类
{
public:
char number[13];
char idcard[19];
char name[23];
char sex[5];
char birthday[9];
char politics[15];
char marriage[5];
char knowledge[23];
char job[23];
char worktime[9];
char state[23];
//172 180
};
class student:public people//学生类
{
public:
char entertime[9];
char educationalsystem[2];
char institute[23];
char specialty[23];
char grade[5];
char theclass[3];
//65 70 250
};
class graduatestudent:public student//研究生类
{public:
char salary[6];
char cteacher[3];
char forclass[23];
//32 40 290
};
class teacher:public people//教师类
{public:
char salary[7];
char cteacher[5];
char forclass[23];
char lesson[23];
//58 60 240
};
class doctor:public teacher//教授类
{public:
char treatment[23];
//23 30 270
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -