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

正文內(nèi)容

c語(yǔ)言課程設(shè)計(jì)報(bào)告:職工信息管理系統(tǒng)-閱讀頁(yè)

2025-04-26 22:18本頁(yè)面
  

【正文】 printf(請(qǐng)你輸入新工號(hào)(原來(lái)是%s):,p)。 printf(請(qǐng)你輸入新姓名(原來(lái)是%s):,p)。 getchar()。 scanf(%s,p)。 printf(請(qǐng)你輸入新的部門(原來(lái)是%s):,p)。p)。 scanf(%s,amp。 getchar()。 scanf(%d,amp。 getchar()。 scanf(%d,amp。 getchar()。 scanf(%d,amp。 getchar()。 printf(\n=====提示:資料修改成功!\n)。} void Insert(Link l){ Node *s,*r,*p。 int flag=0。 system(cls)。 while(1) { printf(請(qǐng)你輸入已存在的工號(hào)(以39。返回上一級(jí)菜單:))。 if(strcmp(old_num,0)==0) return。 flag=0。 break。 } if(flag==1) break。 printf(\n=====The number %s is not existing,try again?(y/n):,old_num)。ch)。y39。Y39。} else {return。039。 scanf(%s,new_num)。 s=lnext。%s39。!\n,new_num)。 return 。 } p=(Node *)malloc(sizeof(Node))。 return 。 printf(請(qǐng)你輸入姓名:)。 getchar()。 scanf(%s,p)。 printf(請(qǐng)你輸入部門:)。p)。 printf(請(qǐng)你輸入職稱:)。p)。 printf(請(qǐng)你輸入工資:)。p)。 printf(請(qǐng)你輸入加班工資:)。p)。 printf(請(qǐng)你輸入獎(jiǎng)金:)。p)。 p=p+p+p。 saveflag=1。 while(1) { if(strcmp(r,old_num)==0) { pnext=rnext。 break。 } Disp(l)。 } void Sort(Link l) { Link ll。 int i=0。 printf(\n=====Not employee record!\n)。 return 。 if(!ll) { printf(\n allocate memory failure )。 } llnext=NULL。 Disp(l)。 while(p) { s=(Node*)malloc(sizeof(Node))。 return 。 snext=NULL。 while(rrnext!=NULL amp。 rrnext=p) {rr=rrnext。 else { snext=rrnext。 } p=pnext。 Disp(l)。 printf(\n =====sort plete!\n)。 Node *p。 fp=fopen(,wb)。 return。 while(p) { if(fwrite(p,sizeof(Node),1,fp)==1) { p=pnext。 } else { flag=0。 } } if(count0) { printf(\n=====提示:文件保存成功.(有%d條記錄已經(jīng)保存.)\n,count)。 } else { system(cls)。039。 } fclose(fp)。 FILE *fp。 char ch。 struct node *p,*r。 list=(struct node*)malloc(sizeof(struct node))。 return 。 r=list。 if(fp==NULL) { printf(\n=====提示:文件還不存在,是否創(chuàng)建?(y/n)\n)。ch)。y39。Y39。 else exit(0)。 while(!feof(fp)) { p=(struct node*)malloc(sizeof(struct node))。 exit(0)。 rnext=p。 count++。 printf(\n=====提示:記錄導(dǎo)入完畢,共導(dǎo)入%d條記錄.\n,count)。 printf(\t\t====請(qǐng)選擇:)。choose)。 printf(\n=====提示:資料已經(jīng)改動(dòng),是否將改動(dòng)保存到文件中(y/n)?\n)。ch)。y39。Y39。 } printf(\n=====提示:你已經(jīng)退出系統(tǒng),再見!\n)。 } switch(choose) { case 1:Add(list)。 case 2: Del(list)。 case 3: Qur(list)。 case 4: Modify(list)。 case 5: Insert(list)。 case 6: Sort(list)。 case 7: Save(list)。 case 8: system(cls)。 break。 getchar()。 } }} 21
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1