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

正文內(nèi)容

c語言學(xué)生成績管理系統(tǒng)課程設(shè)計報告-免費閱讀

2025-02-10 10:34 上一頁面

下一頁面
  

【正文】 這樣的程序是很脆弱的,因此我沒有花太多時間在界面處理上,而專門處理輸入所引起的各種問題,現(xiàn)在我的程序已經(jīng)能處理比較多的錯誤,但是還有一些依然存在這風(fēng)險,限于時間不足,只能在以后慢慢完善。W39。 getch()。 } else {p1next=_delnext。 clrscr()。 else {p1=_delnext。_del!=NULL) {if(strcmp(_delname,del)==0) {none=0。} } if(x==39。 /*保持目標(biāo)指針總在p1的下一個結(jié)點*/ printf(\nDelete successfully!)。:)。 /*目標(biāo)指針指向P1指向的結(jié)點(兩個暫時保持一致指向)*/ printf(\nDelete successfully!)。Esc:39。 /*輸入目標(biāo)*/ printf(enter number gonna Del:)。039。139。)。 /*為了檢測有無目標(biāo)*/ struct student *p1,*_del。}includeincludestruct student *findw(struct student *head) /*這是一個找到鏈表最后一個結(jié)點的函數(shù)*/{struct student *p。 struct student *p。/*為下一個結(jié)點申請內(nèi)存空間*/ if(!p1next) { printf(Out of memory!\n)。} printf(loading...\n)。} else flag=0。y39。 /*對于輸入的出錯處理*/ c=getch()。Y39。 /*開辟兩個新單元*/ head=NULL。 p=head。 getchar()。 p=head。 scanf(%f,amp。 do {printf(\ninput the student39。}while(!sure())。 scanf(%f,amp。 do {printf(input the student39。?c32:c。s sex (39。s number:)。 p=creat()。 /*p2的后繼是t*/ } }p1=head。 /*設(shè)定移動指針p2做為p1的前驅(qū),初值為頭指針*/ while(taverp1averamp。 getch()。 break。 case 39。539。: /*計算機*/ while(p1!=0) {if(p1puterhigh) putout(p1)。 none=0。 p1=p1next。 } if(none) printf(\ncan not find the data!)。 clrscr()。 if(m==39。(head))。printf(\npress any key to return.)。}while(!sure())。}includeincludeincludevoid search2(struct student *head)/*按姓名查找的函數(shù)*/{ int none=1。printf(Search results:\n)。 char number[11]。 case 50:search2(head)。 cprintf(****************************************)。)。 gotoxy(25,11)。 cprintf(1Math。 textbackground(BLUE)。 gotoxy(20,20)。 cprintf(2search by name。 gotoxy(34,5)。 cprintf(please press the number you choose:)。 cprintf(6Display。)。 gotoxy(30,8)。 textbackground(BLUE)。void frees( struct student *)。void search2(struct student *)。 float aver。 char name[11]。getch()。formhead()。getch()。Esc:39。printf(enter number gonna Del:)。printf(\n\n\n\n\n\n\n\n\nPlease enter you choice:)。return 0。char del[11]。 fclose(fp)。FILE *fp。NY!p1next/printf(Out of memory!\n)。YNfp=fopen(,rb))==NULLprintf(fail to open the file!!\n)。p1=(struct student *)malloc(sizeof(struct student))。||c==39。) only:)。if(flag==2) printf(\npress 39。 int n=0,flag=1。struct student *p。 getchar()。p=head。s Math score:scanf(%f,amp。psex=c39。printf(input the student39。p=creat()。while(p1!=NULL) p1=p1next。amp。struct student *p1,*p2,*t,*temp。formhead()。void search3(struct student *)。printf(Search results:\n)。 char name[11]。formhead()。int none=1。case 50:search2(head)。gotoxy(1,25)。gotoxy(25,14)。cprintf(4Computer。)。clrscr()。 cprintf(please press the number you choose:)。 cprintf(3search by score。 cprintf(****************************************)。char ch。)。gotoxy(30,16)。 cprintf(2Sort。cprintf(Students39。while(flag)frees(head)。getch()。:head=delete(head)。break。break。G.不同的模塊都要有出錯處理,并能給出出錯提示。C語言課程設(shè)計報告題 目 學(xué)生成績管理系統(tǒng) 學(xué) 院__計算機學(xué)院__專 業(yè)_計算機科學(xué)與技術(shù)_年級班別___09級計科一班___學(xué) 號__ 3109005882 _學(xué)生姓名______黃杰 ___指導(dǎo)教師___謝光強_______ 成 績 程序功能完成情況測試用例全面情況報告格式是否與要求相符報告內(nèi)容是否準(zhǔn)確全面2010年 1 月 設(shè)計一個學(xué)生成績管理系統(tǒng),對上學(xué)期的本班的學(xué)習(xí)成績進行管理,具有查詢和檢索功能,并且能夠?qū)χ付ㄎ募僮?,也可將多個文件組成一個文件。應(yīng)提供一個界面來調(diào)用各個功能,調(diào)用界面和各個功能的操作界面應(yīng)盡可能清晰美觀!B、 設(shè)計要求一、 已知有存儲本班學(xué)生記錄(包括學(xué)號、姓名、科目成績、性別、),所有學(xué)生以學(xué)號從小到大排序(該文件自行建立)。如輸入數(shù)據(jù)錯誤,文件操作錯誤等等F.以上各個功能均編寫成子函數(shù),由主函數(shù)調(diào)用實現(xiàn)。case 39。case 39。save(head)。break。int menu()。 performance management system)。)。 cprintf(5Save in file。gotoxy(20,22)。textmode(C80)。gotoxy(25,10)。)。ch=getchar()。clrscr()。gotoxy(25,9)。)。cprintf(7average。 cprintf(please press the number you choose:)。break。char number[11]。 while(p!=0)NY (strcmp(pnum,number)==0?putout(p)。struct student *p。formhead()。p1=head。 switch(m)‘1’while(p1!=0)NYp1mathhigh?putout(p1)。temp=headnext。p1!=NULL)p2=p1。clrscr()。 /*建鏈表*/q=findw(head)。s number:)。a39。temp)。YNp!=NULLputout(p)。printf(Press any key if you are sure but 39。p=head。p1=p2=(struct student *)malloc(LEN)。Y39。c=getch()。y39。input(p1)。return (0)。return (head)。 struct student *p。struct student *findw(struct student *)。 char x。clrscr()。 x=getchar()。scanf(%s,del)。)formhead()。head=p1;while(_del!=0)Nstrcmp(_delnum,del)==0 Yp1=p1next。putout(_del)。N!none? Yprintf(Can not find the data...)。 char sex。 struct student *next。void search3(struct student *)。struct student *creat(void)。 textcolor(YELLOW)。 cprintf(1Search。 gotoxy(30,14)。)。 ch=getchar()。 cprintf(Query menu)。)。 cprintf(****************************************)。 textcolor(YELLOW)。)。 cprintf(4Computer。 gotoxy(25,14)。 gotoxy(1,25)。break。 p=head。formhead()。 char name[11]。 clrscr()。getch()。*/ p1=head。039。 printf(Search results:\n)。 printf(\npress any key to return.)。 } if(none) printf(\ncan not find the data!)。 p1=p1next。 none=0。: /*健康教育*/ while(p1!=0) {if(p1hthyhigh) putout(p1)。639。 case 39。 }}includeincludestruct student *sort(struct student *head){struct student *p1,*p2,*t,*temp。amp。
點擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1