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

正文內(nèi)容

員工管理系統(tǒng)課程設(shè)計報告-wenkub.com

2025-01-12 22:56 本頁面
   

【正文】 fclose(fp)。 fwrite(amp。 scanf(%s,pwd1)。 struct user temp。 char pwd[16]。 strcpy(p2birthday,)。 strcpy(p1sex,p2sex)。 strcpy(p1name,p2name)。 strcpy(,p1birthday)。 } //////////////////////////////////////// void exchange(struct employer *p1, struct employer *p2) { struct employer temp。 else if(strcmp(temp,help)==0) printf(help 用于查看幫助 : 例如 :help all查看所有命令 help 命令\n)。 else if(strcmp(temp,save)==0) printf(save 用于保存 所有記錄 : 例如 :save\n)。 else if(strcmp(temp,sort1)==0) printf(sort1 用于按 id排序所有記錄 : 例如 :sort1\n)。 else if(strcmp(temp,find2)==0) printf(find2 用于按姓名查找記錄 : 例如 :find2\n)。 } else if(strcmp(temp,list)==0) printf(list 用于顯示所有記錄 : 例如 :list\n)。 printf(pause 用于暫停程序運行 : 例如 :pause\n)。 printf(load 用于載入數(shù)據(jù)庫 : 例如 :load c:\\n)。 printf(insert 用于插入記錄 : 例如 :insert 員工 ID 姓名 工作 性別 月薪 出生日期 \n)。 printf(find2 用于按姓名查找記錄 : 例如 :find2\n)。 35 } } ///////////////////////////////////////// void help(char temp[10]) { if(strcmp(temp,all)==0) { printf(所有命令用法如下 :\n)。 system(pause)。 if(strcmp(,pwd)==0) { fwrite(amp。 printf(請輸入密碼 :)。 system(pause)。char pwd[30]。 c!=39。 while(c!=39。a39。 system(pause)。 else if(strcmp(cmd,sum)==0) sum()。 else if(strcmp(cmd,pause)==0) system(pause)。 else if(strcmp(cmd,load)==0) { scanf(%s,cmd)。 scanf(%s,)。 scanf(%s,)。 scanf(%s,)。 scanf(%s,)。 head=delbyname(head,cmd)。 findbyname(head,cmd)。 head=add(temp)。 scanf(%s,)。 if(strcmp(cmd,list)==0) printall(head)。 } //////////////////////////////// char execmd() { struct employer temp。 while(p1!=NULL) { printf(姓名 :%s 月薪 :%.2f\n,p1name,p1pay)。 p1=p1next。 system(cls)。 if(head==NULL) { printf(\n對不起 ,您還沒載入數(shù)據(jù) .\n)。 31 head=create()。 printf(載入數(shù)據(jù)成功 .\n)。 }while(!feof(fp) amp。 } head=NULL。 fp=fopen(filepath,r+)。 scanf(%s,fpath)。 scanf(%s,)。 printf(請輸入員工月薪 :)。 printf(請輸入員工職位 :)。 printf(請輸入員工 ID:)。 exit(0)。 head=delbyname(head,name)。 scanf(%s,id)。 printf(按哪種方式刪除 ?())。char name[10]。 29 system(pause)。 if(c==1) { sortbyid(head)。 printf( .\n)。 modify(head,id,temp)。 scanf(%f,amp。 scanf(%s,)。 scanf(%s,)。 printf(請輸入您要修改記錄的 ID:)。 exit(0)。 findbyname(head,name)。 scanf(%s,id)。 printf(按哪種方式查詢 ?())。char name[10]。q39。Q39。 c=getchar()。 27 printf(請輸入 員工出生日期 :)。 scanf(%s,)。 scanf(%s,)。 char c。 || c==39。 scanf(%c,amp。) save(head)。 if(c==39。 if(savedata==0) { printf(數(shù)據(jù)未保存,是否保存 ?(Y/N):)。 default: { format()。 break。 modifyuserinfo()。 case 11: format()。 break。 save(head)。 case 7: format()。 break。 mmodify()。 case 3: format()。 break。 printf(\n\n)。 } fclose(fp)。 return。 return。 } //////////////////////////////////////////////////////// void save(struct employer *head) { FILE *fp。 temp=NULL。 } else { newprenext=small。 } tempnext=smallnext。 while(temp!=NULL) { if(strcmp(tempname,smallname)==1) { small=temp。 employer *newfirst=NULL。 newpre=NULL。 newpre=small。 newfirstnext=NULL。 } 22 temp=head。 while(headnext!=NULL) { small=headnext。 } /////////////////////////////////////////////////////// void sortbyid(struct employer *head) { employer *small=NULL。 strcpy(p1sex,)。 strcpy(p1name,)。 return。 system(pause)。 printf(ID\t姓名 \t職位 \t性別 \t月薪 \t出生日期 \n)。 if(head==NULL) { printf(對不起 ,您的數(shù)據(jù)庫里沒有任何記錄 .\n)。 } printf(\n**********************************************\n)。 20 } p1=head。 printf(\n*****************查詢結(jié)果 *********************\n)。y39。 savedata=0。 strcpy(p2sex,)。 strcpy(p2name,)。 while(p1next!=NULL) { p1=p1next。 p1next=。 strcpy(p1job,)。 if(head==NULL) { p1=(struct employer *)malloc(sizeof(struct employer))。 } n=n+1。 (p1next!=NULL)) { p2=p1。 strcpy(p0sex,)。 strcpy(p0name,)。 } ////////////////////////////////////////////////////////// struct employer *insert(struct employer *head,struct employer temp) { struct employer *p0,*p1,*p2。 system(pause)。 else p2next=p1next。amp。 system(pause)。 system(pause)。 n=n1。 p1=p1next。 } p1=head。 } ////////////////////////////////////////////////////////// struct employer *delbyid(struct employer *head,char id[8]) { struct employer *p1,*p2。 p1=p1next。 printf(\n\n\n)。 return。 } printf(\n)。i++) { system(cls)。}。 } system(pause)。 printf(\n\t\t請輸入選擇 (114):)。 printf(\t\t* 12. 修 改 用 戶 信 息 *\t\t\n)。 printf(\t\t* 8. 保存 員 工 記 錄 *\t\t\n)。 printf(\t\t* 4. 修改 員 工 記 錄 *\t\t\n)。 printf(\t\t* 請選擇: *\t\t\n)。 printf(\n\n\n)。 printf(對不起,用戶名或密碼錯誤 !\n)。 printf(*******************\n)。 fclose(fp)。 system(pause)。 system(cls)。 } //////////////////////////////// void login() { FILE *fp。 printf(\t\t\t* *\t\t\n)。 printf(\t\t\t* *\t\t\n)。 13 printf(\t\t\t* 。
點擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1