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

正文內(nèi)容

c語言學(xué)生成績管理系統(tǒng)課程設(shè)計(jì)報(bào)告-wenkub.com

2025-08-04 04:06 本頁面
   

【正文】 b)。break。 case 4 : statistic()。 case 2 : outputsortsum()。 scanf(%d,amp。 printf( 1 . 返回主菜單 2 . 退出程序\n)。 case 8 : exit(1)。 case 6 : output()。 case 4 : change()。 case 2 : search()。 scanf(%d,amp。 mima1()。 printf(\n\t ******************************************************\n)。 printf( !\n\n)。 printf( 。 printf(\n ★★★★★★★★★★★★★★★★★★★★★★★★★★★\n)。}main(){ int a,m。 printf( * * * 3 查看全部信息 * * *\n)。 printf(\n\n 歡迎進(jìn)入學(xué)生管理系統(tǒng)!\n\n)。 printf( * 7 統(tǒng)計(jì)學(xué)生人數(shù) *\n)。 printf( * * * 3 刪除指定學(xué)生 * * *\n)。 printf(\n\n 歡迎進(jìn)入管理員管理系統(tǒng)!\n\n)。 break。\039。 putchar(39。 for(i=0。 char ch[10]。 } else { printf(\n這個(gè)密碼是錯(cuò)誤的! )。 if(strcmp(num,ch)==0) a = 0。*39。i10。 char num[20]={abcde}。 return head。 printf( | 學(xué)號(hào) | 姓名 | 數(shù)學(xué) | 英語 | C語言 | 總分 |\n)。 q= sortsum(head)。 p = head = read()。 } return head。 while(p != NULL) { i++。 printf(\n *************************STUDENT****************************\n)。}struct student *outputsortsum()//總分排序輸出{ int i=0。 } while (pnext!=amp。 } else { p3=p1。 p2next=p1。m。 while (pnext!=NULL) { p=pnext。 if (head == NULL) return NULL。\n)。 printf(更改后的總分:%d,psum)。p scorec)。p scoree)。p scorem)。 scanf(%s,p num)。 switch (a) { case 1 : printf(請(qǐng)輸入更改后的姓名:\n)。 do { scanf (%d,amp。 printf(\n)。 break。 scanf(%s,x)。 struct student *p = NULL,*head = NULL,*q = NULL。\n)。 save2(p1)。 } if(strcmp(a,head name) == 0 amp。amp。 p1=head=read()。 char a[9]。 break。 printf( | 學(xué)號(hào) | 姓名 | 數(shù)學(xué) | 英語 | C語言 | 總分 |\n)。 while(p!=NULL) { if(p==NULL) { printf(對(duì)不起,沒有您要找的人。 } p=pnext。 printf( \n)。\n)。 if(n==1) { printf(請(qǐng)輸入您要查找的學(xué)生的姓名:\n)。 struct student *p = NULL,*head = NULL。 p = p next。 while (p != NULL) { p sum = 0。 printf(\n *************************STUDENT***********************\n)。 } return pnext。N39。) p = creat(p)。 if (ch == 39。 for (。p scorec)。 scanf(%d,amp。 printf(數(shù)學(xué)成績:)。 printf(學(xué)號(hào):)。 struct student *p = NULL,*head=NULL。 } p2next = NULL。 while (fp != NULL) { if (fread(p1,sizeof (struct student ),1,fp) != 1) break。 struct student *head=NULL,*p1=NULL,*p2=NULL。 while(p != NULL) { fwrite(p,sizeof(struct student),1,fp)。 } fclose(fp)。}void save1(struct student *p)//將鏈表從內(nèi)存保存到文件中{ FILE *fp。 p1 sum = 0。p1 scoree)。 scanf(%d,amp。 scanf(%s,p1 num)。 p next = p1。 struct student *next。 int scorem。 3.設(shè)計(jì)上得到的體會(huì):在初步設(shè)計(jì)時(shí)要明確要使用的數(shù)據(jù)結(jié)構(gòu)和類型,明確設(shè)計(jì)的基本思想,清楚所寫程序的邏輯結(jié)構(gòu)和執(zhí)行順序,要進(jìn)一步優(yōu)化程序的結(jié)構(gòu),使程序更簡潔,執(zhí)行效率更高.總之,第一次完成比較正式的程序,在開始的時(shí)候遇到了不少問題,包括怎么排序,怎么添加,怎么查找,怎么刪除等一系列問題,但我并沒有慌張,而是由一個(gè)問題入手,最后將它們一一攻破,順利而又艱難的完成了這次任務(wù);通過這次實(shí)習(xí),我的編程能力得到了很大的提高,算法思路也比以前清晰多了,基本上掌握了C語言的課程內(nèi)容,雖然只有為期兩周的實(shí)習(xí),但是我的C語言還是得到了進(jìn)一步的提高。 fclose (fp)。 p1 next = (struct student *)malloc (sizeof (struct student ))。 if ((fp=fopen (d:\\,rb+))==NULL) { printf (讀取時(shí),文件打開失敗!\n)。 p = p next。 printf(保存成功!\n)。 if ((fp = fopen(d:\\,ab+)) == NULL) printf(
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1