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