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

正文內(nèi)容

員工管理系統(tǒng)課程設(shè)計報告(留存版)

2025-03-01 22:56上一頁面

下一頁面
  

【正文】 fclose(fp)。 printf(\t\t* 請選擇: *\t\t\n)。 printf(\n\t\t請輸入選擇 (114):)。 } printf(\n)。 } ////////////////////////////////////////////////////////// struct employer *delbyid(struct employer *head,char id[8]) { struct employer *p1,*p2。 system(pause)。 system(pause)。 (p1next!=NULL)) { p2=p1。 p1next=。 savedata=0。 } printf(\n**********************************************\n)。 return。 while(headnext!=NULL) { small=headnext。 newpre=NULL。 } else { newprenext=small。 return。 case 3: format()。 save(head)。 break。) save(head)。 scanf(%s,)。Q39。 scanf(%s,id)。 scanf(%s,)。 printf( .\n)。 printf(按哪種方式刪除 ?())。 printf(請輸入員工 ID:)。 scanf(%s,fpath)。 printf(載入數(shù)據(jù)成功 .\n)。 p1=p1next。 scanf(%s,)。 scanf(%s,)。 else if(strcmp(cmd,load)==0) { scanf(%s,cmd)。a39。 system(pause)。 35 } } ///////////////////////////////////////// void help(char temp[10]) { if(strcmp(temp,all)==0) { printf(所有命令用法如下 :\n)。 printf(pause 用于暫停程序運行 : 例如 :pause\n)。 else if(strcmp(temp,save)==0) printf(save 用于保存 所有記錄 : 例如 :save\n)。 strcpy(p1name,p2name)。 struct user temp。 fclose(fp)。 char pwd[16]。 strcpy(,p1birthday)。 else if(strcmp(temp,sort1)==0) printf(sort1 用于按 id排序所有記錄 : 例如 :sort1\n)。 printf(load 用于載入數(shù)據(jù)庫 : 例如 :load c:\\n)。 system(pause)。char pwd[30]。 system(pause)。 scanf(%s,)。 head=delbyname(head,cmd)。 if(strcmp(cmd,list)==0) printall(head)。 system(cls)。 }while(!feof(fp) amp。 scanf(%s,)。 exit(0)。char name[10]。 modify(head,id,temp)。 printf(請輸入您要修改記錄的 ID:)。 printf(按哪種方式查詢 ?())。 c=getchar()。 char c。 if(c==39。 modifyuserinfo()。 case 7: format()。 break。 return。 } tempnext=smallnext。 newpre=small。 } /////////////////////////////////////////////////////// void sortbyid(struct employer *head) { employer *small=NULL。 system(pause)。 20 } p1=head。 strcpy(p2sex,)。 strcpy(p1job,)。 strcpy(p0sex,)。 else p2next=p1next。 n=n1。 p1=p1next。i++) { system(cls)。 printf(\t\t* 12. 修 改 用 戶 信 息 *\t\t\n)。 printf(\n\n\n)。 system(pause)。 printf(\t\t\t* *\t\t\n)。 return 0。 void mload()。 struct employer *insert(struct employer *head,struct employer temp)。 char job[20]。 (11)命令行模式:進入命令行后在命令提示符后輸入相應(yīng)命令即可,可以輸入help all命令查看所以命令及其使用方法,也可在 help命令后加相應(yīng)命令,即可得到該命令的幫助。 (10) sortbyid()函數(shù):按 ID排序功能模塊,首先判斷鏈表是否為空,否則采用冒泡排序,即采用兩個 for循環(huán),在第二個 for 循環(huán)中判斷大小,決定是否交換。 ( 5)進入代碼開發(fā)階段,編寫程序,進行調(diào)試直到成功。本系統(tǒng)正是其中的一項,針對人事信息管理,方便公司對員工的信息進行處理,極大減少了人事管理的工作量。 (6)員工信息包括:編號、姓名、部門、年齡、性別、工資等。 (3) printall()函數(shù):輸出記錄模塊,首先判斷鏈表是否為空,否則采用 while循環(huán)輸出直到下條記錄為空。 (4)查看功能:輸入 2則可查看所有記錄。從中知道 程序設(shè)計不僅是模仿,還得創(chuàng)新。 void login()。 void quit()。 char dbpath[]={}。 *\t\t\n)。 char username[10]。 printf(請輸入您的密碼 :)。 printf(\t\t* 5. 排序 員 工 記 錄 *\t\t\n)。 } ////////////////////////////////////////// void process() { char temp[]={}。 } struct employer *p1。 while(strcmp(id,p1id)!=0 amp。 goto end。 p1=head。 savedata=0。 } p2=(struct employer *)malloc(sizeof(struct employer))。) goto g1。 system(pause)。 strcpy(p1job,)。 while(tempnext!=small) { temp=tempnext。 employer *newpre=NULL。 newfirst=NULL。 printf(\n保存成功 !\n)。 break。 case 10: format()。 printf(不可識別的命令 .\n)。c)。 printf(請輸入員工月薪 :)。)。 } else if(c==3) return。 printf(請輸入員工性別 :)。 } else if(c==2) { sortbyname(head)。 head=delbyid(head,id)。 scanf(%s,)。 if(fp==NULL) { printf(\n 11 打開 %s失敗 .\n,filepath)。 return head。 p1=p1next。 } else if(strcmp(cmd,find1)==0) { scanf(%s,cmd)。 modify(head,cmd,temp)。 else if(strcmp(cmd,quit)==0) quit()。q39。 scanf(%s,)。 printf(del1 用于按 ID刪除記錄 : 例如 :del1 id\n)。 else if(strcmp(temp,add)==0) printf(add 用于添加一條記錄 : 例如 :add 員工 ID 姓名 工作 性別 月薪 出生日期 \n)。 else if(strcmp(temp,exitshell)==0) printf(exitshell 用于退出命令行模式 : 例如 :exitshell\n)。 strcpy(p2id,)。 printf(請再次輸入密碼: )。 if(strcmp(,pwd1)==0) { fp=fopen(,w+)。 strcpy(p2job,)。 else printf(對不起本系統(tǒng)不支持該命令 .)。 else if(strcmp(temp,find2)==0) printf(find2 用于按姓名查找記錄 : 例如 :find2\n)。 printf(modify 用于修改記錄 : \n例如 :modify 要修改的員工 ID 員工ID 姓名 工作 性別 月薪 出生日期 \n)。 scanf(%s,pwd)。amp。q39。 33 scanf(%s,)。 } else if(strcmp(cmd,find2)==0) { scanf(%s,cmd)。 system(pause)。 struct employer *p1。 return head。 scanf(%s,)。 scanf(%s,name)。 else { printf(不可識別命令 .\n)。 printf(請輸入員工月薪 :)。 // system(pause)。char id[8]。)。Y39。 26 } } } /////////////////////////////// void quit() { char c。 break。 msort()。 } //////////////////////////////////////////////// void format() { system(cls)。 return。 temp=headnext。 if(newfirst==NULL) { newfirst=small。 p1pay=。 } p1=head。 } ////////////////////////////////////////////////////// void findbyid(struct employer *head,char id[8]) { struct employer *p1。 strcpy(p2id,)。 } ///////////////////////////////////////////////////////// struct employer *add(struct employer temp) { struct e
點擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1