电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

C++工资管理系统源代码

C++工资管理系统源代码_第1页
1/14
C++工资管理系统源代码_第2页
2/14
C++工资管理系统源代码_第3页
3/14
#include #include #include #include using namespace std; double sum,avarage; int amount=0; int ab=0,cd=0,ef=0; ofstream *file[50]; struct xinxi { double jiben; double zhiwu; double gangwei; double yiliao; double gongji; double sum; double sum1; double avarage; struct xinxi *next; }; class worker { public: string name; string ID; double sum; double avarage; xinxi sc1; class worker *next; }; void luru(worker *head); void search1(worker *head); void search2(worker *head); void xianshi(worker *head); void xiugai(worker *head); void chazhao(worker *head); void shanchu(worker *head); void tianjia(worker *head); void tongji(worker *head); void display(); void read(worker *head); void dakai(worker *head); int main() { system("color ff"); int x; //bool flag2=0; /*do { do { cin>>x; if(x>=0&&x<=10) flag2=1; else { cout<<"~~~~~~~~~~~~指令错误!!!~~~~~~~~~~"<next=NULL; while(1) { display(); cin>>x; if(x==1) { cout<<"***************现在进行职工数据的录入*****************\n"; luru(head); cout<<"输入的职工信息为:\n"; xianshi(head); display(); //break; } else if(x==2) { cout<<"***************现在进行职工数据的修改******************\n"; xiugai(head); display(); //break; //按姓名修改 } else if(x==3) { cout<<"***************现在进行所有职工信息的显示*****************\n"; xianshi(head); display(); //break; //显示数据 } else if(x==4) { char z; cout<<"*****************现在进行所有职工信息查找**************\n"; cout<<"请选择查询方式\n"; cout<<"(1).姓名查询方式 (2).ID 查询方式\n"; cin>>z; while(z!='1'&&z!='2') { cout<<"**************指令错误********************\n"; cout<<"(1).姓名查询方式 (2).ID 查询方式\n"; cin>>z; } switch(z) { case '1': search1(head);break;//按姓名查询 case '2': ...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

C++工资管理系统源代码

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部