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

正文內(nèi)容

員工管理系統(tǒng)課程設(shè)計(jì)報(bào)告-預(yù)覽頁(yè)

 

【正文】 插入 員 工 記 錄 *\t\t\n)。 printf(\t\t* 10. 導(dǎo)入 數(shù) 據(jù) 庫(kù) *\t\t\n)。 printf(\t\t* 14. 退 出 系 統(tǒng) *\t\t\n)。cmd)。 char tempout[100]={39。 for(i=1。 printf(程序 正在處理 ,請(qǐng)耐心等待 ...\n)。 } //////////////////////////////////////////////////////////////// void printall(struct employer *head) { if(head==NULL) { printf(\n對(duì)不起 ,您還沒(méi)載入數(shù)據(jù) .\n)。 p1=head。 16 printf(ID\t姓名 \t職位 \t性別 \t月薪 \t出生日期 \n)。 printf(總計(jì)共 %d條記錄 .\n,n)。 system(pause)。amp。 else p2next=p1next。 system(pause)。 } /////////////////////////////////////////////////// struct employer *delbyname(struct employer *head,char name[10]) { struct employer *p1,*p2。 } p1=head。 p1=p1next。 n=n1。 system(pause)。 18 p0=(struct employer *)malloc(sizeof(struct employer))。 strcpy(p0birthday,)。 } else { while((strcmp(p0id,p1id)=0) amp。 } p2next=p0。 return(head)。 strcpy(p1id,)。 19 p1pay=。 n++。 =NULL。 strcpy(p2birthday,)。 p1next=p2。 //scanf(%s,judge)。 } return(head)。 system(pause)。 while(p1!=NULL) { if(strcmp(id,p1id)==0) printf(%s\t%s\t%s\t%s\t%f\t%s\n,p1id,p1name,p1job,p1sex,p1pay,p1birthday)。 } /////////////////////////////////////////////////////// void findbyname(struct employer *head,char name[10]) { struct employer *p1。 return。 p1=p1next。 if(head==NULL) 21 { printf(對(duì)不起 ,您的數(shù)據(jù)庫(kù)里沒(méi)有任何記錄 .\n)。 while(p1!=NULL) { if(strcmp(id,p1id)==0) { =p1next。 strcpy(p1birthday,)。 } p1=p1next。 employer *newfirst=NULL。 while(temp!=NULL) { if(strcmp(tempid,smallid)==1) { small=temp。 } tempnext=smallnext。 } else { newprenext=small。 temp=NULL。 } ///////////////////////////////////// void sortbyname(struct employer *head) { employer *small=NULL。 while(headnext!=NULL) { small=headnext。 23 } temp=head。 newfirstnext=NULL。 newpre=small。 newpre=NULL。 if(head==NULL) { printf(\n您沒(méi)有需要保存的記錄 ,無(wú)須保存 .\n)。 if(fp==NULL) { printf(\n打開 %s失敗 .\n,dbpath)。 while(p1!=NULL) { fwrite(p1,sizeof(struct employer),1,fp)。 system(pause)。 } /////////////////////////////////////////////////// void choose(int cmd) { switch(cmd) { case 1: format()。 printall(head)。 break。 25 case 5: format()。 minsert()。 break。 case 9: format()。 mload()。 break。 case 13: system(cls)。 quit()。 system(pause)。 scanf(%c,amp。 || c==39。 } else { printf(是否退出 ?(Y/N):)。 if(c==39。) exit(0)。 scanf(%s,)。 scanf(%s,)。 scanf(%f,amp。 head=add(temp)。c)。amp。 } /////////////////////////////////// void mfind() { int c。 printf( .\n)。c)。 } else if(c==2) { printf(請(qǐng)輸入員工姓名 :)。 else { printf(不可識(shí)別命令 .\n)。 } } ///////////////////////////////////////////// void mmodify() 28{ char id[8]。 printf(請(qǐng)輸入修改數(shù)據(jù) :\n)。 scanf(%s,)。 scanf(%s,)。 printf(請(qǐng)輸入員工出生日期 :)。 printf( ID.\n)。 scanf(%d,amp。 } else if(c==3) return。 } } //////////////////////////////////////////// void mdel() { int c。 printf( .\n)。c)。 } else if(c==2) { printf(請(qǐng)輸入員工姓名 :)。 else { printf(不可識(shí)別命令 .\n)。 } } ////////////////////////////////////////////// void minsert() { struct employer temp。 printf(請(qǐng)輸入員工姓名 :)。 printf(請(qǐng)輸入員工性別 :)。)。 } /////////////////////////////////////// void mload() { char fpath[30]。 } //////////////////////////////////////// struct employer *load(char filepath[30]) { FILE *fp。 system(pause)。temp,sizeof(struct employer),1,fp)。 !=NULL)。 return head。*/ } ////////////////////////////////////// void sum() { float paysum=0。 return。 printf(********************統(tǒng)計(jì)如下 *********************\n)。 printf(\n具體支出如下 :\n)。 } printf(*************************************************\n)。 printf(\n)。 scanf(%s,)。)。 findbyid(head,cmd)。 head=delbyid(head,cmd)。 scanf(%s,)。 scanf(%f,amp。 } else if(strcmp(cmd,insert)==0) { scanf(%s,)。 scanf(%f,amp。 } else if(strcmp(cmd,sort1)==0) sortbyid(head)。 } else if(strcmp(cmd,save)==0) save(head)。 else if(strcmp(cmd,exitshell)==0) return 39。 help(cmd)。a39。 printf(\n\n)。 amp。) { c=execmd()。 fp=fopen(,w)。 } line1: printf(\n請(qǐng)輸入新的用戶名 :)。 printf(請(qǐng)重復(fù)密碼 :)。 fclose(fp)。 system(pause)。 printf(add 用于添加一條記錄 : 例如 :add 員工 ID 姓名 工作 性別 月薪 出生日期 \n)。 printf(del2 用于按姓名刪除記錄 : 例如 :del2 姓名 \n)。 printf(sort2 用于按姓名排序所有記錄 : 例如 :sort2\n)。 printf(bank 用于備份數(shù)據(jù)庫(kù) : 例如 :bank\n)。 printf(exitshell 用于退出命令行模式 : 例如 :exitshell\n)。 else if(strcmp(temp,find1)==0) printf(find1 用于按 ID查找記錄 : 例如 :find1\n)。 else if(strcmp(temp,modify)==0) printf(modify 用于修改記錄 : \n例如 :modify 要修改的員工 ID 員工ID 姓名 工作 性別 月薪 出生日期 \n)。 else if(strcmp(temp,sum)==0) printf(sum 用于統(tǒng)計(jì)所有記錄 : 例如 :sum\n)。 else if(strcmp(temp,cls)==0) printf(cls 用于清屏 : 例如 :cls\n)。 else if(strcmp(temp,quit)==0) printf(quit 用于退出程序 : 例如 :quit\n)。 strcpy(,p1name)。 strcpy(,p1sex)。 strcpy(p1birthday,p2birthday)。 strcpy(p2name,)。 strcpy(p2sex,)。 void main() { FILE *fp。 scanf(%s,)。 scanf(%s,)。 } 38printf(請(qǐng)記住您的賬號(hào)和密碼?。?
點(diǎn)擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1