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

正文內(nèi)容

高校人事管理系統(tǒng)說明書(編輯修改稿)

2025-05-12 00:32 本頁面
 

【文章內(nèi)容簡介】 ntim1,ntim2,npo,ntechpo,npart,nstud)。 } //在最后插入新成員 函數(shù) void insertatlast(int nnum,char ntype[],char nname[],char nsex[],int nage,char ntime1[],char ntime2[],char npos[],char ntechpos[],char nparty[],char nstudy[]){ person *next=myfirst。 if(next==NULL) myfirst=new person(nnum,ntype,nname,nsex,nage,ntime1,ntime2,npos,ntechpos,nparty,nstudy)。 else { while(nextgetnext()!=NULL) next=nextgetnext()。 nextsetnext(new person(nnum,ntype,nname,nsex,nage,ntime1,ntime2,npos,ntechpos,nparty,nstudy,nextgetnext()))。 } }//從鍵盤輸入數(shù)據(jù),并創(chuàng)建相應(yīng)對象 函數(shù), void input(int r) { int nage。 char ntype[20],nname[20],nsex[20],ntime1[20],ntime2[20],npos[20],ntechpos[20],nparty[20],nstudy[20]。 cout請輸入編號為r的成員的信息endl。 cout輸入職工分類碼[行政人員,教師,一般員工,退休人員,返聘人員,臨時工]:endl。 cinntype。 cout輸入姓名:endl。 cinnname。 cout輸入性別:endl。 cinnsex。 cout輸入年齡:endl。 cinnage。 cout參加工作時間:endl。 cinntime1。 cout輸入來院時間:endl。 cinntime2。 cout輸入職務(wù)[無,科級,處級,地級]:endl。 cinnpos。 cout輸入職稱[無,初級,中級,高級]:endl。 cinntechpos。 cout輸入加入黨派[群眾,中共黨員,民主黨派]:endl。 cinnparty。 cout輸入學(xué)歷[小學(xué),初中,高中,大專,大學(xué),碩士,博士]:endl。 cinnstudy。insertatlast(r,ntype,nname,nsex,nage,ntime1,ntime2,npos,ntechpos,nparty,nstudy)。 }//從鍵盤輸入數(shù)據(jù),并創(chuàng)建相應(yīng)對象 函數(shù)二, void input1(person *ahead) { cout編號:setiosflags(ios::left) aheadgetname()endl。 cout性別:setiosflags(ios::left) aheadgetsex()endl。 cout年齡:setiosflags(ios::left) aheadgetage()endl。 cout職工類型:setiosflags(ios::left) aheadgettype()endl。 cout職務(wù):setiosflags(ios::left) aheadgetpos()endl。 cout職稱:setiosflags(ios::left) aheadgettechpos()endl。 cout學(xué)歷:setiosflags(ios::left) aheadgetstudy()endl。 cout政治面貌:setiosflags(ios::left) aheadgetparty()endl。 cout來院時間:setiosflags(ios::left) aheadgettime1()endl。 cout參加工作時間:setiosflags(ios::left)aheadgettime2()endl。 }//輸出數(shù)據(jù)函數(shù)二 void pri() { person *ahead=myfirst。 cout編號姓名 性別 年齡 職工類型 職務(wù) 職稱 學(xué)歷 政治面貌 來院時間 參加工作時間\n。 while(ahead!=NULL) {coutsetiosflags(ios::left)setw(4)aheadgetnum()setiosflags(ios::left)setw(6)aheadgetname() setiosflags(ios::left)setw(5)aheadgetsex()setiosflags(ios::left)setw(4)aheadgetage() setiosflags(ios::left)setw(10)aheadgettype()setiosflags(ios::left)setw(6)aheadgetpos() setiosflags(ios::left)setw(6)aheadgettechpos()setiosflags(ios::left)setw(6)aheadgetstudy() setiosflags(ios::left)setw(9)aheadgetparty()setiosflags(ios::left)setw(12)aheadgettime1() aheadgettime2()endl。 ahead=aheadgetnext()。 } }//增加員工函數(shù) void add() { int i,a,b。 person *p1=myfirst。 if(p1==NULL) { cout請輸入編號:。 cini。 input(i)。 } else { if(p1getnext()==NULL) { a=p1getnum()+1。 input(a)。 } else { while(p1getnext()!=NULL) { p1=p1getnext()。 } b=p1getnum()+1。 input(b)。 } } }//刪除人員函數(shù)bool removedatnum( ) { int bh。 person *ahead=myfirst。 person *follow=ahead。 cout請輸入要刪除人員的編號:。 cinbh。 if(ahead==NULL) return false。 else if(aheadgetnum()==bh) { myfirst=myfirstgetnext()。 cout編號為bh的成員以被刪除endl。 delete ahead。 return true。 } else { ahead=aheadgetnext()。 while(ahead!=NULL) { if(aheadgetnum()==bh) { followsetnext(aheadgetnext())。 cout編號為bh的成員以被刪除\n。 delete ahead。 return true。 } follow=a
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1