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

正文內(nèi)容

c語言學(xué)生成績管理系統(tǒng)課程設(shè)計報告(參考版)

2025-01-20 10:34本頁面
  

【正文】 為之奮戰(zhàn)了這么久,看著自己的實驗成果,想著它還有很多需要改進(jìn)的東西;我知道我的設(shè)計還沒有結(jié)束;我已經(jīng)不僅僅是為了課程設(shè)計而在拼命了……還要繼續(xù)??!使用手冊:打開軟件:出現(xiàn)主界面:選擇相應(yīng)的數(shù)字鍵可以實現(xiàn)相應(yīng)功能功能;首次打開可能會沒有數(shù)據(jù);需要手動輸入;請按3;接著出現(xiàn)請按照提示輸入,輸入過程暫時不能退出,輸錯數(shù)據(jù)也只能用刪除功能了!請按‘y’或者‘n’(不分大小寫),按‘n’返回主菜單先按6看看里面有哪些數(shù)據(jù)吧!咦?有相同學(xué)號的??刪掉一個吧,請按4;可以不會兩個都刪的。這次的實驗對我來說是一個很大的挑戰(zhàn),雖然老師給了我們兩個多星期時間,但是前段日子為了應(yīng)付考試,基本上是考試后才著手做實驗,有時候一個簡單的問題又能花費(fèi)我大半天的時間,所以,感覺這次的實驗真的很有挑戰(zhàn)! 在實驗中,我最大的收獲不是實驗的結(jié)果,而是在做實驗中對c語言的了解以及所收獲的知識;我通過看書,上網(wǎng),百度上問人,也學(xué)習(xí)到了很多細(xì)節(jié);可是實驗后;我并沒有能總結(jié)出我在這次課程設(shè)計中學(xué)到的所有東西;可能是忘了,也可能是記在心里了,但是得等到再次碰到同樣問題的時候,我才能想起來。每一個的輸入都得非常小心。 printf(\n+++++++++++)。} return head。) {free(head)。headsex==39。amp。} } if(headsex!=39。} else {printf(Can not find the data...)。 } } if(!none) {printf(\nNo more data...)。 } } else {p1=p1next。 printf(\nDelete successfully!)。 free(_del)。 _del=_delnext。 putout(_del)。:)。 printf(\ndelete this data? Cancel by 39。 while(_del!=0) {if(strcmp(_delname,del)==0) { none=0。 } } else _del=p1next。 printf(\nDelete successfully!)。 free(_del)。 if(getch()==27) _del=p1next。 formhead()。Esc:39。 clrscr()。amp。 }while(!sure())。 printf(enter name gonna Del:)。239。 getch()。 getch()。 _del=_delnext。getch()。 /*物理刪除*/ _del=p1next。 } else {p1next=_delnext。 if(getch()==27) /*不刪除兩個指針都后移*/ {p1=p1next。/*由你判斷是否要刪除*/ formhead()。Esc39。 /*找到目標(biāo),none為非真*/ clrscr()。/*若第一個結(jié)點不是目標(biāo),目標(biāo)指針后移*/ } head=p1。 getch()。 /*釋放內(nèi)存*/ _del=p1。/*若不刪除,目標(biāo)指針后移*/ else {p1=_delnext。 putout(_del)。)。 printf(delete this data? Cancel by 39。_del!=NULL) /*開始時p1和_del都指向頭;當(dāng)?shù)谝粋€結(jié)點是目標(biāo)時選擇刪或不刪*/ {if(strcmp(_delnum,del)==0) {none=0。 while(_del==p1amp。 scanf(%s,del)。) /*按學(xué)號刪除*/ {do { clrscr()。 if(x==39。039。)。x!=39。amp。x!=39。amp。 }while(x!=39。 printf(\n\n\n\n\n\n\n\n\nPlease enter you choice:)。 printf(\n\n 0cancel。 printf(\n\n 2By Student Name to delete。 printf(\n\n\n\n\n\n\n\n\n\n\n\n 1By Student Number to delete。return 0。 printf(there is no data!press any key to back.)。 /*定義一個刪除目標(biāo)指針和一個指向刪除目標(biāo)前一個結(jié)點的指針*/ p1=_del=head。 int none=1。}includeincludeincludestruct student *delete(struct student *head) /*刪除結(jié)點函數(shù)*/{char del[11]。 while(pnext!=NULL) p=pnext。 p=head。} fclose(fp)。 while(p!=NULL) {fwrite(p,LEN,1,fp)。 return。 if((fp=fopen(,wb))==NULL) {printf(fail to open the file!\n)。 }includeincludevoid save(struct student *head) /*將鏈表保存到文件的函數(shù)*/{FILE *fp。 fclose(fp)。 /*使p2指向剛才p1指向的結(jié)點*/ p1=p1next。 return (head)。 /*數(shù)據(jù)讀取錯誤即跳出循環(huán)*/ p1next=(struct student *)malloc(LEN)。} head=p1。 getch()。 p1=(struct student *)malloc(LEN)。 return (0)。 FILE *fp。 /*將尾指針指向空*/ return (head)。 } else flag=2。flag=1。) {p1=(struct student *)malloc(sizeof(struct student))。||c==39。) { if(c==39。||c==39。||c==39。||c==39。 if(c==39。) only:)。(39。) or 39。(39。 if(flag==2) printf(\npress 39。 p2=p1。 if(n==1) head=p1。 /*頭指針初始化為空*/ input(p1)。 p1=p2=(struct student *)malloc(LEN)。 struct student *p1,*p2,*head。} head=NULL。 while(p!=0) {free(p)。}includeinclude void frees(struct student *head) /*釋放內(nèi)存*/{struct student *p。 if(c==27) return 0。:)。 printf(Press any key if you are sure but 39。}includeint sure() /*用來確認(rèn)的函數(shù)*/{char c。s a empty list!\n)。}while(p!=NULL)。 if(p!=NULL) do {putout(p)。}includeincludevoid print(struct student *head)/*將鏈表輸出的函數(shù)*/{struct student *p。 /*平均分*/ }includeincludevoid putout(struct student *p) /*將一個結(jié)點里的數(shù)據(jù)輸出的函數(shù)*/ {printf(\n|%10s|%10s| %c |%|%|%|%|%|%|%|, pnum,pname,psex,pmath,penglish,pcp,pputer,phthy,phistory,paver)。 phistory=temp。temp)。s history score:)。 phthy=temp。temp)。s healthyeducation score:)。 pputer=temp。temp)。s puter score:)。 pcp=temp。temp)。s C Program score:)。 penglish=temp。temp)。s English score:)。 pmath=temp。temp)。s Math score:)。)。psex!=39。amp。}while(psex!=39。a39。/* 性別,為了規(guī)范,故只能輸入M或者W */ do { c=getchar()。W39。M39。 printf(\ninput the student39。 /*輸入名字*/ scanf(%s,pname)。 do {printf(\ninput the student39。 /*輸入學(xué)號;為char型*/ scanf(%s,pnum)。 do {printf(input the student39。 char c。 return hed==NULL?p:hed。 /*建鏈表*/ q=findw(head)。 hed=head。 return(head)。 /*清屏,輸出排好序的鏈表*/formhead()。 /*已排好序的頭指針賦給p1*/while(p1!=NULL) /*當(dāng)p1不為空時,進(jìn)行下列操作*/ { p1=p1next。 /*t的后繼是p1*/ p2next=t。 /*待排序點的后繼為p*/ head=t。 /*待排序點值小,則新表指針后移*/ p1=p1next。amp。 /*設(shè)定移動指針p1,從頭指針開始*/ p2=head。 /*取原表的頭結(jié)點*/ temp=tempnext。 /*將原表的頭指針?biāo)傅南乱粋€結(jié)點作頭指針*/headnext=NULL。 }}includeincludestruct student *sort(struct student *head){struct student *p1,*p2,*t,*temp。 printf(\npress any key to return.)。 p1=p1next。: /*平均分*/ while(p1!=0) {if(p1averhigh) putout(p1)。 case 39。 getch()。 } if(none) printf(\ncan not find the data!)。 none=0。639。 break。 printf(\npress any key
點擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1