Ai
1 Star 3 Fork 1

HX/cpp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Charge.h 980 Bytes
一键复制 编辑 原始数据 按行查看 历史
HXhlx 提交于 2019-01-09 22:43 +08:00 . Update Charge.h
#ifndef CHARGE_H
#define CHARGE_H
#include"Salary.h"
using namespace std;
class Charge :public Salary
{
double water, electricity, medicare, rax, realsalary;
public:
Charge(unsigned w = 0, string i = "", string n = "", double ba = 0, double d = 0, double bo = 0, double wa = 0, double e = 0, double m = 0) :Salary(w, i, n, ba, d, bo), water(wa), electricity(e), medicare(m) {}
static void Find(vector<Charge>); /*按费用信息查询*/
static void In(fstream&, vector<Charge>&); /*将员工文件输出到容器*/
static int Login(vector<Charge>&); /*员工登录*/
static void Save(fstream&, vector<Charge>&); /*保存到文件中*/
static void Statistics(vector<Charge>); /*统计总工资*/
void Delete(vector<Charge>&); /*删除员工数据*/
void Feagure(); /*计算税金和实发工资*/
void Input(); /*添加员工费用信息*/
void Modify(); /*修改员工费用信息*/
void Print(); /*打印工资单*/
};
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/xiang-hanlin/cpp.git
git@gitee.com:xiang-hanlin/cpp.git
xiang-hanlin
cpp
cpp
master

搜索帮助