freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

c公司人員信息管理系統(tǒng)-課程設(shè)計(jì)報(bào)告-在線瀏覽

2025-07-16 22:21本頁面
  

【正文】 top1=top1+1。 } else { cout放棄添加endl。 } }void manager::search(){ system(cls)。 if(top1==0) { cout當(dāng)前系統(tǒng)沒有儲(chǔ)存記錄!endl。 } int choice。 cinchoice。 string num。 for(int i=0。i++) { if(M[i].number==num) { cout編號(hào)\t姓名\t性別\t部門\t級(jí)別\t月薪endl。 return。 }。 case 2: { cout請(qǐng)輸入要查找的姓名endl。 cinname。itop1。 M[i].output()。 }。 case 0:break。system(pause)。break。 read()。 return。 for(int i=0。i++) M[i].output()。 read()。 return。 cout請(qǐng)輸入要修改的經(jīng)理編號(hào):endl。 for(int i=0。i++) { if(M[i].number==num) { cout編號(hào)\t姓名\t性別\t部門\t級(jí)別\t月薪endl。 cout請(qǐng)選擇修改范圍:全部修改 修改編號(hào) 修改姓名 修改性別endl。 cout 0、退出修改endl。 cinchoice。 string n。 for(int j=0。j++) if(n==M[j].number) { cout該編號(hào)的人員已存在endl。 } cout輸入修改后的姓名:endl。 cinna。 string s。 cout輸入修改后的部門:endl。 cind。 string r。 cout輸入修改后的月薪:endl。 cinsa。 int a。 if(a==1) { M[i].number=n。 M[i].sex=s。 M[i].rank=r。 } else { cout放棄修改endl。 } save()。break。 string n。 for(int i=0。i++) if(n==M[i].number) { cout該編號(hào)的人員已存在endl。 } cout是否確認(rèn)修改? 是 否endl。 cina。 else { cout放棄修改endl。 } save()。break。 string na。 M[i].name=na。 int a。 if(a==1) M[i].name=na。 return。 }。 case 4: { cout請(qǐng)輸入修改后的性別endl。 cins。 cout是否確認(rèn)修改? 是 否endl。 cina。 else { cout放棄修改endl。 } save()。break。 string d。 M[i].department=d。 int a。 if(a==1) M[i].department=d。 return。 }。 case 6: { cout請(qǐng)輸入修改后級(jí)別endl。 cinr。 cout是否確認(rèn)修改? 是 否endl。 cina。 else { cout放棄修改endl。 } save()。break。 float sa。 M[i].salary=sa。 int a。 if(a==1) M[i].salary=sa。 return。 }。 case 0:cout退出修改endl。break。system(pause)。 } cout修改完成endl。 } } cout查無此人endl。 read()。 return。 cout請(qǐng)刪除查找方式:按編號(hào)刪除 按姓名刪除 0、退出endl。 switch(choice) { case 1: { cout請(qǐng)輸入所要?jiǎng)h除人員的編號(hào):endl。 cinnum。itop1。 M[i].output()。 int choice。 switch(choice) { case 1: { for(int j=i。j++) M[j]=M[j+1]。 top1=top11。save()。 case 2:return。 }return。 }。del()。 case 2: { cout請(qǐng)輸入所要?jiǎng)h除人員的姓名:endl。 cinname。itop1。 M[i].output()。 int choice。 switch(choice) { case 1: { for(int j=i。j++) M[j]=M[j+1]。 top1=top11。save()。 case 2:return。 } } }return。 }。 case 0:break。system(pause)。break。}void manager::stat(){ system(cls)。 int choice。 cout請(qǐng)輸入所要執(zhí)行的編號(hào):endl。 switch(choice) { case 1:cout經(jīng)理的人數(shù)為:top1endl。stat()。 case 2: { int a=0,b=0。 string X=女。itop1。 if(M[i].sex==X) b++。 cout女性人數(shù):bendl。system(pause)。break。 float all_salary=0。itop1。 } ave_salary=all_salary/top1。 }。stat()。 case 4: { float max_salary=0。itop11。 M[i+1].salary=max_salary。 } cout最高工資:max_salary。system(pause)。break。 for(int i=0。i++) { if(M[i].salaryM[i+1].salary) { min_salary=M[i].salary。 } else min_salary=M[i+1].salary。 }。stat()。 case 0:break。system(pause)。break。 ~technician(void)。 void search()。 void alter()。 void stat()。 void read()。 void output()。 float time_salary。include include includeiostreamincludefstreamincludestringincludeiomanipusing namespace std。technician T[MAX]。technician::technician(void){}technician::~technician(void){}void technician::input(){ cout請(qǐng)輸入輸入編號(hào):endl。 cout請(qǐng)輸入輸入姓名:endl。 cout請(qǐng)輸入輸入性別:endl。 cout請(qǐng)輸入輸入部門:endl。 cout請(qǐng)輸入輸入級(jí)別:endl。 cout請(qǐng)輸入輸入工時(shí):endl。 cout請(qǐng)輸入輸入時(shí)薪:endl。 salary=time_salary*work_time。}void technician::read(){ top2=0。 ifstream inflie(,ios::in)。 return。 while(inflieT[i].numberT[i].nameT[i].sexT[i].departmentT[i].rankT[i].work_timeT[i].time_salaryT[i].salary) { i++。 } ()。 if(!outflie) { cout打開失?。ndl。 } int i。itop2。 } cout保存成功!endl。}void technician::add() { system(cls)。 if(top2=MAX) { cout人員已滿endl。 } cout輸入要添加的編號(hào):endl。 cinn。itop2。 return。 cout請(qǐng)?jiān)俅屋斎胄绿砑尤藛T的信息endl。 cout是否確認(rèn)添加? 是 否endl。 cina。 top2=top2+1。 } else { cout放棄添加endl。 }}void technician::search(){ system(cls)。 if(top2==0) { cout當(dāng)前系統(tǒng)沒有儲(chǔ)存記錄!endl。 } int choice。 cinchoice。 string num。 for(int i=0。i++) { if(T[i].number==num) { cout編號(hào)\t姓名\t性別\t部門\t級(jí)別\t工時(shí)\t時(shí)薪\t月薪endl。 return。 }。 case 2: { cout請(qǐng)輸入要查找的姓名endl。 cinname。itop2。 T[i].output()。 } } cout查無此人!endl。break。 default:cout輸入錯(cuò)誤!請(qǐng)輸入0~3的數(shù)字endl。search()。 } } void technician::show(){ system(cls)。 if(top2==0) { cout無數(shù)據(jù)!endl。 } cout編號(hào)\t姓名\t性別\t部門\t級(jí)
點(diǎn)擊復(fù)制文檔內(nèi)容
電大資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1