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

正文內(nèi)容

c語言課程設(shè)計報告-教務(wù)管理程序(參考版)

2025-01-26 11:57本頁面
  

【正文】 struct branchnode *。 } } void func10 (struct mainnode * * headp) /*列出不及格學(xué)生清單 */ { struct mainnode *mp。 } printf(總平均成績 :%\n,q/i)。 ++n。 } s=t/f。 p=pnext。f=0。 printf(%10s 平均成績 :,p[n].subj)。 printf(\nclass%d:\n,mpdata)。 while(mp!=NULL){ q=0。 i=count()。 int n,i,f。 } void func9 (struct mainnode * * headp) /*統(tǒng)計并輸出各班各門功課的平均成績及總平成績 */ { struct mainnode *mp。 p=pnext。 ++s。 s=0。 while(p!=NULL){ printf(\n 第 %d 名 :\n,++i)。 } p=head。 pstudent=pnextstudent。pnext!=NULL。it1。 s=p。 pnext=head。 ++n。t=0。pstudent,sizeof(stud),1,fp)。amp。 while(s!=2){ p=(struct branchnode *)malloc(sizeof(struct branchnode))。 } head=NULL。t open the file\n)。 FILE * fp。int s=1,i,n。 } } void func8 (void)/* 統(tǒng)計學(xué)生平均成績 ,排名后輸出 */ { struct branchnode *p,* head。N39。n39。 printf(\n)。 fflush(stdin)。} p[s].r=t。){printf(\n)。||bup[0]==39。 25 if(bup[0]==39。 fflush(stdin)。t)。 } fprintf(stdout,請輸入 %s 的新成績 :,buf)。 while(scount( )){ if(!strcmp(buf,p[s].subj))break。 scanf(%s,buf)。 while(i!=p)p=pnext。 scanf(%ld,amp。 p=*head。 head=amp。 scanf(%d,amp。 struct branchnode * * head。char buf[15],bup[5]。 return(n)。 } n。!ferror(fp)){ fread(buf,sizeof(buf),1,fp)。} while(!feof(fp)amp。t open the file\n)。FILE *fp。 24 } } int count(void)/*計算學(xué)科數(shù)目 */ { int n=0。 } p=pnext。 strcpy(p[n].subj,score[n].subj)。 scanf(%d,amp。 n=0。 printf(class%d\n,mpdata)。 mp=*headp。 } fclose(fp)。N39。n39。 gets(buf)。 break。 sscanf(buf,%s,score[i1].subj)。 fflush(stdin)。 exit(1)。 if((fp=fopen(a:\,wb))==NULL){ fprintf(stderr,can39。 struct branchnode *p。char buf[80]。 } 23 } void func6 (struct mainnode * * headp)/*登記各班所有學(xué)生各門功課的成績 */ { FILE *fp。)flag=0。||buf[0]==39。 if(buf[0]==39。 } fprintf(stdout,繼續(xù) ? )。 else lasttrunk=ptrunk。 p=ptrunk。} p=* headp。){printf(\n)。||bup[0]==39。 if(bup[0]==39。 fflush(stdin)。x)。 while(flag){ fprintf(stdout,請輸入要刪除班級的班級號 :\n)。char bup[5],buf[80]。 printf(\n)。N39。n39。 gets(buf)。 } fprintf(stdout,繼續(xù) ? )。 if(pnext==NULL)last=0。 } 22 if(p==i){ if(p==*head) *head=pnext。 } while(i!=p){ last=p。){ printf(\n)。||bup[0]==39。 if(bup[0]==39。 fflush(stdin)。i)。 fprintf(stdout,請輸入要刪除學(xué)生的學(xué)號 \n)。a(headp,x)branch。x)。 while(flag){ fprintf(stdout,請輸入要刪除學(xué)生所在班級的班級號 :\n)。 struct branchnode *p,*last。 } } void func4(struct mainnode * * headp) /*刪除某班某個學(xué)生的基本情況 */ { int flag=1,i,x。)flag=0。||buf[0]==39。 if(buf[0]==39。 fprintf(stdout,繼續(xù) ? )。p,amp。p,amp。} sscanf(buf,%ld%s%s%d%ld%ld,amp。){printf(\n)。||bup[0]==39。 if(bup[0]==39。 fprintf(stdout,確定嗎 ? )。 fflush(stdin)。 while(i!=p) p=pnext。 scanf(%ld,amp。 p=head。x)。 while(flag){ fprintf(stdout,請輸入要修改學(xué)生所在班級的班級號 :\n)。char buf[80],bup[5]。printf(\n)。N39。n39。 gets(buf)。 else new=2。 current=1。 } } else { newnext=NULL。 } else{ newnext=current。 } if(newcurrent ){ if(current==head){ newnext=head。currentnext!=NULL){ last=current。 while(newcurrentamp。 head=*dc。 dc=amp。 new=1。new)。new,amp。new,new, amp。continue。N39。n39。 gets(bup)。 gets(buf)。 fprintf(stdout,請輸入新生基本情況 :學(xué)號 ,姓名 ,性別 ,年齡 ,寢室 ,電話 \n)。 scanf(%d,amp。 while(flag){ new=(struct branchnode *)malloc(sizeof(struct branchnode))。struct branchnode * * dc。struct mainnode *pc。 } fclose(fp)。 } p=pnext。pstudent,sizeof(stud),1,fp)!=1){ fprintf(stderr,write error\n)。pnext==NULL) p=2。 while(p!=NULL){ if(mptrunk==NULLamp。 } mp=*head。t open the file\n)。FILE * fp。 } } void copy (struct mainnode * * head)/*將鏈表中數(shù)據(jù)寫到文件中 */ { struct mainnode * mp。 printf(\n\n)。 19 ++s。 if(r==0){ s=0。printf(\nclass%2d:\n,p)。 mp=*headp。 struct branchnode * p。 return(p)。 p=* headp。head)。 getch()。 mpdata=qn。 q=createrange(amp。 tailtrunk=mp。 mpbranch=NULL。 mpdata=qn。 q=createrange(amp。 head=mp。 mptrunk=NULL。 18 } head=NULL。t open the file\n)。 FILE * fp。 } struct mainnode * * enter (void)/*建十字鏈表 */ { stud * q。 return(amp。 tail=p。 pnext=NULL。 fread(amp。amp。amp。 tail=p。 pnext=NULL。!ferror(fp)) fread(amp。 if(!feof(fp)amp。 stud student。 } fclose(fp)。++t。 break。 if(fwrite(amp。 =i。,amp。,amp。} sscanf(bup,%ld%s%s%d%ld%ld,amp。){i=2。||buf[0]==39。} if(buf[0]==39。) {fprintf(stdout,\n 請輸入第 %d 班學(xué)生基本情況 :\n,++s)。||buf[0]==39。 if(buf[0]==39。 ? ? ? ? ? ? ? 縲 ) )。 ? ? ? ? ? 緇 緗 緗 緗 緗 緗 緗 $ 荴 ? 蕨 H 縲 ɡ ? ? ? ? ? ? ? 縲 ) )。 ? 膈 ? ? ? ? ? ? ? ? ? 緇 緗 緗 緗 緗 緗 緗 $ 荴 ? 蕨 H 縲 ɡ ? ? ? ? ? ? ? 縲 ) )。 ? 膈 ? ? ? ? ? ? ? ? ? 緇 緗 緗 緗 緗 緗 緗 $ 荴 ? 蕨 H 縲
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1