下载后可任意编辑C++_公司人事管理系统课程设计12024 年 4 月 19 日下载后可任意编辑//全部代码、 界面及注释#include#include#include#include#include#includechar mima[20],employname[10];int sl,k=1,lenth=0;char NAME[20];struct date {int year;int month;int day;};struct infor{char name1[20]; //姓名char sex1[3]; //性别char zhiwu1[10]; //职务char ID1[20]; //身份证号char brithday1[12]; //生日char address1[50]; //家庭住址char tele1[20]; //电话号码 char idemployee1[20]; //工作编号char money1[5];}inf[100];22024 年 4 月 19 日下载后可任意编辑void tiquxinxi() //提取信息{char e;int i;int j;ifstream myfile("d:\\q.txt",ios::nocreate);for(i=0;i<1000;i++){myfile.getline(inf[i].name1,11);if(strlen(inf[i].name1)<2) break;for(j=1;j<30;j++)if(inf[i].name1[j]==' ') inf[i].name1[j]='\0';myfile.get(e);myfile.getline(inf[i].sex1,4);for(j=1;j<30;j++)if(inf[i].sex1[j]==' ') inf[i].sex1[j]='\0';myfile.get(e);myfile.getline(inf[i].zhiwu1,11);for(j=1;j<30;j++)if(inf[i].zhiwu1[j]==' ') inf[i].zhiwu1[j]='\0';myfile.get(e);myfile.getline(inf[i].idemployee1,6);for(j=1;j<30;j++)if(inf[i].idemployee1[j]==' ') inf[i].idemployee1[j]='\0';32024 年 4 月 19 日下载后可任意编辑myfile.get(e);myfile.getline(inf[i].ID1,21);for(j=1;j<30;j++)if(inf[i].ID1[j]==' ') inf[i].ID1[j]='\0';myfile.get(e);myfile.getline(inf[i].brithday1,11);myfile.get(e);myfile.getline(inf[i].address1,31);for(j=1;j<30;j++)if(inf[i].address1[j]==' ') inf[i].address1[j]='\0';myfile.get(e);myfile.getline(inf[i].tele1,13);for(j=1;j<30;j++)if(inf[i].tele1[j]==' ') inf[i].tele1[j]='\0';myfile.get(e);myfile.getline(inf[i].money1,6);for(j=1;j<30;j++)if(inf[i].money1[j]==' ') inf[i].money1[j]='\0';myfile.get(e);}lenth=i;myfile.close();}class people //人的类{42024 年 4 月 19 日下载后可任意编辑protected:char name[20]; //姓名char sex[2]; //性别char zhiwu[10]; //职务char ID[20]; //身份证号date brithday; //生日ch...