【正文】
while(rrnext!=NULL amp。 lnext=llnext。 } p=lnext。 } void help(){ printf(歡迎進入中南大學學生成績管理系統(tǒng)《菜單導航》\n\t\t我們將竭誠為您服務\n)。 printf(4.修改;用來改動已錄入的學生信息。\n)。 char ch。 printf(\t\t\t\t 學生成績管理系統(tǒng)\n)。jian)。 while(!feof(fp)) { p=(Node*)malloc(sizeof(Node))。 printf(請你選擇操作:)。y39。 //增加學生 case 2:Del(l)。//顯示學生 case 6:Tongji(l)。 default: Wrong()。ta damagesbased agreement, you should make sure you39。s about how he felt and I would like to speak to him first to find out what his experience was.Uefa has May be back in the past, to oneself the paranoid weird belief disillusionment, these days, my mind has been very messy, in my mind constantly. Always feel oneself should go to do something, or write something. Twenty years of life trajectory deeply shallow, suddenly feel something, do it. 一字開頭的年齡已經(jīng)到了尾聲。t want to give vent to out your inner voice can be in the high school children of the feelings in a period, but was eventually infarction when graduation party in the throat, later again stood on the pitch he has sweat profusely, looked at his thrown a basketball hoops, suddenly found himself has already can39。那些曾經(jīng)所謂的非做不可,只是青蔥年華里自己給自己注射的一支強心劑,或者說,是自以為是的精神寄托罷了。ll be traveling fast, so despite the distance, it will not be like diving into the deep end of a pool. It will be like he is diving into the shallow end. Skydiver preps for the big jumpWhen he jumps, he is expected to reach the speed of sound 690 mph (1,110 kph) in less than 40 seconds. Like hitting the top of the water, he will begin to slow as he approaches the more dense air closer to Earth. But this will not be enough to stop him pletely.If he goes too fast or spins out of control, he has a stabilization parachute that can be deployed to slow him down. His team hopes it39。突然想到那件藍格子襯衫;那些被折成各種各樣形狀的信紙;那段從街角深巷伊始的友誼;還有那場還沒有開始就宣告了終結(jié)的邂逅計劃……那些年那些天的非做不可,終于和青春一樣,都將在我們的人生中謝幕。也曾經(jīng)好像已經(jīng)下定了決心去做某件事,但更多的時候是最后又打起了退堂鼓。t really grow up, it seems is not so important。s actions.CSKA said they were surprised and disappointed by Toure39。s 150th anniversary celebrations and will attend City39。t charge you more than 35% of your pensation your employer dismisses you and you think that you have been dismissed unfairly.For more information about dismissal and unfair dismissal, see//保存學生 case 9:help()。//修改學生 case 5:Disp(l)。 } switch(sel) { case 1:Add(l)。ch)。 //關(guān)閉文件 printf(\n*********提示:記錄導入完畢,共導入%d條記錄.\n,count)。 else exit(0)。 if(fp==NULL) { printf(\n********提示:文件還不存在,是否創(chuàng)建?(y/n)\n)。 getchar()。//鏈表 FILE *fp。\n)。 printf(3.查詢:此功能下設(shè)兩個選項,分別用于學號查詢和姓名查詢。 shoudsave=0。 if(fp==NULL) { printf(\n********提示:重新打開文件時發(fā)生錯誤!\n)。 } p=pnext。 snext=NULL。 Node *p,*rr,*s。 } printf(統(tǒng)計結(jié)果\n)。 return 。 printf(\n)。 } void Disp(Link l)//顯示函數(shù)模塊 { int count=0。 printf(請你輸入新的英語成績(原來是%d分):,p)。 printf(請你輸入新的c語言成績(原來是%d分):,p)。 void printstart1()。 } else Wrong()。 p=Locate(l,findmess,name)。 printf(\n********提示:該學生已經(jīng)成功刪除!\n)。sel)。 } else Wrong()。 scanf(%s,findmess)。 p=Locate(l,findmess,num)。 Node *p。 p=p+p+p。 printf(請你輸入數(shù)學成績:)。 getchar()。 printstart()。 while(s) { if(strcmp(s,num)==0)//將新輸入學號與已有學號對比 { printf(?。。。。?!提示:學號為39。 r=l。 while(r!=NULL) { if(strcmp(r,findmess)==0)//將輸入學號與已有學號對比 return r。 } void Nofind() { printf( ________________________________________________________________________\n)。 printf(\t* MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM *\n)。 printf(\t* MMM 5顯示學生資料 6統(tǒng)計學生成績 MMM *\n)。 printf( 能為您的學習工作帶來方便\n)。 }Node,*Link。 //c語言成績 int mgrade。fp=fopen(“C:\\student”,”rb”)fp=NULL無文件,創(chuàng)建?fp=fopen(“C:\\student”,”rb”)Exitmain()開始導入文件!feof(fp)p=(Node*)malloc(sizef(Node))fread(p,sizeof(Node),1,fp)Pnext=NULL。 e:程序的組裝及調(diào)試。 具備記錄添加功能; 查詢功能(如按學號查詢成績等); 計算統(tǒng)計功能(如統(tǒng)計某門課程的平均程序); 排序功能(如按成績排序); 統(tǒng)計并顯示信息功能;三.課程設(shè)計目的 了解軟件工程中的一些系統(tǒng)分析,模塊分析,代碼設(shè)計的概念,利用visual c++實現(xiàn)學生成績管理系統(tǒng)的錄入、查詢、刪除、統(tǒng)計等基本操作,掌握C語言中的結(jié)構(gòu)體、指針、函數(shù)(系統(tǒng)函數(shù)、自定義函數(shù))、文件操作等知識。 c:增加學生記錄的函數(shù)的編譯。count++fclose(fp)menu()1234576980非0YN假真假真1入口rnext不為空指針后移到表尾?1==0?輸出提示輸入numS指針為空?s==num相關(guān)輸出指針后移到表尾申請空間Anum==0NOYES