下载后可任意编辑C++工资管理系统源代码12024 年 4 月 19 日下载后可任意编辑#include#include#include#includeusing 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;22024 年 4 月 19 日下载后可任意编辑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;else32024 年 4 月 19 日下载后可任意编辑{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(); 42024 年 4 月 19 日下载后可任意编辑 //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){52024 年 4 月 19 日下载...