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

正文內(nèi)容

學(xué)生成績(jī)管理信息系統(tǒng)設(shè)計(jì)與開發(fā)_c程序設(shè)計(jì)課程設(shè)計(jì)-資料下載頁

2025-02-10 09:18本頁面

【導(dǎo)讀】管理系統(tǒng)來對(duì)學(xué)生的成績(jī)進(jìn)行管理。等內(nèi)容,這些管理職能統(tǒng)一由管理者負(fù)責(zé)。查詢所有學(xué)生的所有成績(jī);查詢,信息修改,信息統(tǒng)計(jì),信息顯示,保存信息,感謝使用以及退出程序。示,保存信息這五個(gè)模塊必須以信息載入或信息創(chuàng)建為基礎(chǔ)。類似的,分別輸入序號(hào)2、3即可按照學(xué)號(hào)或課程查詢成績(jī)。其次,就該考慮程序算法的問題了,一個(gè)好的算法是一個(gè)好程序的靈魂,也。決定了一個(gè)程序的質(zhì)量。難,以及學(xué)習(xí)好c++是多么的重要。在這個(gè)程序的設(shè)計(jì)過程中,我清楚的意識(shí)到。自己的水平有多么的薄弱,課程的知識(shí)學(xué)得有多么的不扎實(shí)??淳W(wǎng)上的例子好像。括號(hào)或是分號(hào),導(dǎo)致要找很久很久。雖然系統(tǒng)可以運(yùn)行,也具有了一些基本的功。能,但我意識(shí)到了自己有太多的不足。知識(shí)解決實(shí)際問題的能力!真正的為我所用,這樣走上社會(huì)我才能真正的發(fā)揮所長(zhǎng)。'0'cout"輸入錯(cuò)誤,請(qǐng)重新輸入"endl;cout"退出前請(qǐng)確定沒有忘記保存數(shù)據(jù)。cout"確定退出按y,取消退出按n"endl;

  

【正文】 setw 8 性別 setw 8 年齡 setw 8 成績(jī) endl。 do fout setw 0 q number setw 8 q name setw 8 q sex setw 8 q age setw 8 w endl。 q q next。 while q ! NULL 。 cout 保存成功 ! endl。 cout 現(xiàn)在返回上一級(jí)。 endl。 。 cout 要繼續(xù)查找嗎 y/n 。 cin flag。 while flag ! 39。y39。 amp。amp。 flag ! 39。n39。 cout 輸入錯(cuò)誤,請(qǐng)輸入 y/n endl。 cin flag。 if flag 39。n39。 break。 while flag 39。y39。 。 void Modify long num。 struct STUDENT *p1。 char flag 39。y39。 do cout 請(qǐng)輸入要修改成績(jī)的學(xué)生的學(xué)號(hào): endl。 cin num。 p1 head。 while p1! NULL if p1 number num cout 請(qǐng)按以下的格式修改: endl。 cout setw 0 姓名 setw 8 性別 setw 8 年齡 setw 8 語文 setw 8 英語 setw 8 數(shù)學(xué) setw 8 物理 setw 8 化學(xué) setw 8 生物 endl。 cin p1 name p1 sex p1 age p1 chineseRecord p1 englishRecord p1 mathematicsRecord p1 physicalRecord p1 chemistryRecord p1 biologicalRecord 。 break。 else p1 p1 next。 if p1 NULL cout 沒有該學(xué)號(hào)的同學(xué),請(qǐng)查證: endl。 cout 要繼續(xù)查找嗎 y/n 。 cin flag。 while flag ! 39。y39。 amp。amp。 flag ! 39。n39。 cout 輸入錯(cuò)誤,請(qǐng)輸入 y/n endl。 cin flag。 if flag 39。n39。 break。 while flag 39。y39。 。 cout 請(qǐng)及時(shí)保存數(shù)據(jù) ,現(xiàn)在返回上一級(jí) endl。 void Sort struct STUDENT * headsa NULL。 struct STUDENT *current。 struct STUDENT *p1,*p2,*p3,*。 p1 p2 struct STUDENT * malloc LEN 。 struct STUDENT * malloc LEN 。 average 1000。 while 1 p1 average 。 current head。 while current! NULL current average current chineseRecord +current englishRecord +current mathematicsRecord +current physicalRecord +current chemistryRecord +current biologicalRecord /6。 if p1 average current average amp。amp。 current average average amp。amp。 current! p1 current。 current current next。 else current current next。 p1。 if headsa NULL p2 number p1 number。strcpy p2 name,p1 name 。strcpy p2 sex,p1 sex 。 p2 age p1 age。p2 chineseRecord p1 chineseRecord。 p2 englishRecord p1 englishRecord。p2 mathematicsRecord p1 mathematicsRecord。 p2 physicalRecord p1 physicalRecord。p2 chemistryRecord p1 chemistryRecord 。 p2 biologicalRecord p1 biologicalRecord。 headsa p2。 else p2 number p1 number。strcpy p2 name,p1 name 。strcpy p2 sex,p1 sex 。 p2 age p1 age。p2 chineseRecord p1 chineseRecord。 p2 englishRecord p1 englishRecord。p2 mathematicsRecord p1 mathematicsRecord。 p2 physicalRecord p1 physicalRecord。p2 chemistryRecord p1 chemistryRecord 。 p2 biologicalRecord p1 biologicalRecord。 if p1 average p3 next NULL。 break。 p1 struct STUDENT * malloc LEN 。 p2 next p1。 p3 p2。 p2 p1。 struct STUDENT *q。 cout \n 排序所有學(xué)生的成績(jī) : endl。 q headsa。 if headsa! NULL cout setw 0 學(xué)號(hào) setw 8 姓名 setw 8 性別 setw 8 年齡 setw 8 語文 setw 8 英語 setw 8 數(shù)學(xué) setw 8 物理 setw 8 化學(xué) setw 8 生物 setw 12 平均分 endl。 do cout setw 0 q number setw 8 q name setw 8 q sex setw 8 q age setw 8 q chineseRecord setw 8 q englishRecord setw 8 q mathematicsRecord setw 8 q physicalRecord setw 8 q chemistryRecord setw 8 q biologicalRecord setw 12 q average endl。 q q next。 while q ! NULL 。 else cout \n 學(xué)生成績(jī)?yōu)榭?,?qǐng)確認(rèn)。 endl。 char filename[20]。 cout 請(qǐng)輸入保存的文件名 : 。 cin filename。 ofstream fout filename,ios::app 。 if !fout cout 文件不能打開 ! endl。 else struct STUDENT *p。 p headsa。 fout setw 0 學(xué)號(hào) setw 8 姓名 setw 8 性別 setw 8 年齡 setw 8 語文 setw 8 英語 setw 8 數(shù)學(xué) setw 8 物理 setw 8 化 學(xué) setw 8 生物 endl。 do fout setw 0 p number setw 8 p name setw 8 p sex setw 8 p age setw 8 p chineseRecord setw 8 p englishRecord setw 8 p mathematicsRecord setw 8 p physicalRecord setw 8 p chemistryRecord setw 8 p biologicalRecord endl。 p p next。 while p ! NULL 。 cout 保存成功 ! endl。 。 cout 現(xiàn)在返回上一級(jí)。 endl。 void FindStudentAverage long num。 struct STUDENT * p。 char flag 39。y39。 do cout 輸入你要查找的學(xué)號(hào) : 。 cin num。 p head。 while p! NULL if p number num cout num 學(xué)號(hào)同學(xué)的平均分為: 。 p average p chineseRecord +p englishRecord +p mathematicsRecord +p physicalRecord +p chemistryRecord +p biologicalRecord /6。 cout p average endl。 break。 else p p next。 if p NULL cout 沒有該學(xué)號(hào)同學(xué)的信息,請(qǐng)確認(rèn)。 endl。 cout 要繼續(xù)查找嗎 y/n 。 cin flag。 while flag ! 39。y39。 amp。amp。 flag ! 39。n39。 cout 輸入錯(cuò)誤,請(qǐng)輸入 y/n endl。 cin flag。 if flag 39。n39。 break。 while flag 39。y39。 。 cout 現(xiàn)在返回上一級(jí)。 endl。 void FindClassAverage struct STUDENT * p。 char flag 39。y39。 char it。 do double sum 0。 double average 0。 p head。 cout 請(qǐng)輸入要查找科目所對(duì)應(yīng)的序號(hào): endl。 cout 1語文 setw 12 2英語 setw 12 3數(shù)學(xué) setw 12 4物理 setw 12 5化學(xué) setw 12 6生物 endl。 cin it。 cout it。 int n 0。 switch i
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1