lab.h
来自「高校工资管理系统里面一些东西是通过模版写的因此在其他的类似的系统中也可以直接拿来」· C头文件 代码 · 共 27 行
H
27 行
#ifndef LAB_H
#define LAB_H
#include<iostream.h>
#include<fstream.h>
#include<stdlib.h>
#include<string.h>
#include"person.h"
#include"File.h"
class lab: virtual public person
{
public:
lab(char *na=" ",char* id="00",int wtime=70);
void Pay();
~lab();
bool operator==(lab &s);
friend class File;
friend ostream& operator<<(ostream &sout,lab &s);
friend ofstream& operator<<(ofstream &fsout,lab&s);
friend istream& operator>>(istream &sin,lab&s);
friend ifstream& operator>>(ifstream &fsin,lab&s);
protected:
static int BaseWorkTime;
static int BasePayment;
static int addtion;
int Lworktime;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?