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

正文內(nèi)容

c++大作業(yè)---職員信息管理系統(tǒng)(文件)

 

【正文】 p=pheadnext。} if(flag==1) {cout該職工號(hào)已存在,請(qǐng)輸入其它職工號(hào) :。 cinname。 else if(sexnum==2)strcpy(sex,女 )。sexnum!=2)。 }while(age0||age130)。 cinsal。 cintele。 } /*********************InfoQuery 信息查詢 ***********************/ void List::InfoQuery() { employee*p=pheadnext。 while(ordernum) { cout此人不存在,請(qǐng)?jiān)?1num范圍內(nèi)輸入要查詢職工的序號(hào) :。i++) { if(pordernum==order) { pshow1()。 =pnum。 pname=qname。 qsex=。 =pedu。 psalary=qsalary。 qaddres=。 } /*************************InfoSort 排序 *************************/ void List::InfoSort() { employee *p。 cout|* *|endl。 cinsortway。q。 }。i++) for(p=pheadnext,q=pnext。 showall()。inum1。 } coutendl排序后 endl。 } } /***********************InfoDelete 刪除信息 ************************/ void List::InfoDelete() { employee*p=pheadnext。 do{ cinordernum。 q=qnext。 if(sure==39。 delete []pnum。 delete []ptele。 employee *f=pheadnext。 f=fnext。n39。 int ordernum。 for(。 cout|* *|endl。 cout|* *|endl。 int item。 }while(item7)。 employee*q。q。 cinnewnum。 }。 cinnewname。break。 if(age0||age130)cout年齡輸入有誤,重新輸入 :。break。 pedu=new char[strlen(edu)+1]。 case 5: { float salary。 }。 cinaddres。break。 ptele=new char[strlen(tele)+1]。 } coutendl修改后 :endl。 cout當(dāng)前所有職工: endlendl。p。 } /************************InfoAdd 添加信息 ***************************/ void List::InfoAdd() { employee*p。 char sex[4]。 char addres[50]。 cinnum。p。 while(1) { flag=0。 cout請(qǐng)輸入新添加人員的職工號(hào),姓名,性別,年齡,學(xué)歷,工資,住址,電話 :endl。 int age。 char name[10]。 pshow()。 coutendl。 } /************************showall 顯 示 所 有 信 息************************/ void List::showall() { employee *p=pheadnext。 }。 cout請(qǐng)輸入要修改的電話 :。 strcpy(paddres,addres)。 case 6: { char addres[30]。 cinsalary。 }。 cout請(qǐng)輸入要修改的學(xué)歷 :。 page=age。 cout請(qǐng)輸入要修改的年齡 (數(shù)字 ):。 strcpy(pname,newname)。 case 2: { char newname[10]。 } pnum=new char[strlen(newnum)+1]。break。 while(1) { flag=0。 cout請(qǐng)輸入要修改的職工號(hào) :。 do { cinitem。 cout|* *|endl。 cout|* *|endl。p=pnext)。 if(ordernumnum)cout輸入有誤 ,請(qǐng)?jiān)?1num范圍內(nèi)選擇!endl。 } /***************************InfoModify 修改信息 ********************/ void List::InfoModify() { employee *p=pheadnext。 showall()。inum。 p=NULL。 delete []pedu。) { qnext=pnext。 char sure。 }while(ordernumnum||ordernum=0)。 cout請(qǐng)輸入要?jiǎng)h除職工的序號(hào): 。 }。q。break。q=qnext,p=pnext) { if(strcmp(pname,qname)0)
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1