teacher.h

来自「高校工资管理系统里面一些东西是通过模版写的因此在其他的类似的系统中也可以直接拿来」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef TEACHER_H
#define TEACHER_H
#include<iostream.h>
#include<fstream.h>
#include<string.h>
#include"person.h"
#include"File.h"
class teacher: virtual public person
{public:
teacher(char *na="",char *id="00",int wtime=120);
 void Pay();
friend class File;
friend ostream& operator<<(ostream &sout,teacher &s);
friend ofstream& operator<<(ofstream &fsout,teacher &s);
friend istream& operator>>(istream &sin,teacher &s);
friend ifstream& operator>>(ifstream &fsin,teacher &s);
~teacher();
protected:
	static int BaseWorkTime;
	static int BasePayment;
	int Tworktime;
};
#endif

⌨️ 快捷键说明

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