C++员工管理系统.doc

C员工管理系统

#include iostream #include ctime #include string #include fstream #include iomanip #include cstdlib #include cmath #include windows.h using namespace std; int count=0; double totalPay=0; int nemberOfopinions=0; ofstream *file[50]; int Bossflag=0; void menu(); int password(); class Profession//职业 { char rank;//等级 float basicSalary;//基础工资 float allowance;//津贴 float medicalInsurance; //医疗保险 double overTimePay;//加班费 public: Profession(char nr=0,float nb=0,float na=0,float nm=0,double no=0):rank(nr),basicSalary(nb),allowance(na),medicalInsurance(nm), overTimePay(no) {}//构造 char

文档评论(0)

1亿VIP精品文档

相关文档