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

正文內(nèi)容

c課程設(shè)計(jì)報(bào)告學(xué)生成績(jī)管理系統(tǒng)資料(編輯修改稿)

2025-06-09 18:49 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 ut請(qǐng)輸入任意字符,繼續(xù)...... 。 getch() 。 } } break 。 }}void StudentMassage::ModifyItem() //修改學(xué)生信息{ char name[20] 。 Student *p = NULL 。 cout\n\t\t請(qǐng)輸入要修改的學(xué)生的姓名: 。 cinname 。 if(p = FindItem(name)) { cout\n\t\t已找到該學(xué)生,請(qǐng)輸入新的信息!endl 。 pnextinput() 。 cout\n\t\t修改成功!endl 。 Display() 。 } else { cout\n\t\t沒有找到!endl 。 cout\n輸入任意字符!繼續(xù)....... 。 getch() 。 }}void StudentMassage::RemoveItem() //刪除學(xué)生信息{ char name[20] 。 Student *p = NULL , *temp = NULL 。 cout\n\t\t請(qǐng)輸入要?jiǎng)h除的學(xué)生的姓名: 。 cinname 。 if(p = FindItem(name)) { temp = pnext 。 pnext = pnextnext 。 delete temp 。 cout\n\t\t刪除成功!endl 。 Display() 。 } else { cout\t\t沒有找到!endl 。 cout輸入任意字符!繼續(xù)...... 。 getch() 。 }}int StudentMassage::ListCount() //返回記錄的學(xué)生總數(shù){ Student *p 。 int n = 0 。 if(!Head) return 0 。 for(p = Headnext 。 p != End 。 p = pnext) n ++ 。 return n 。}int StudentMassage::Count() //成績(jī)統(tǒng)計(jì){ Student *p 。 int x , m , n ,count = 0 。 if(!Head) { cout\n\t\t沒有資料可以統(tǒng)計(jì)!endl 。 return 0 。 } cout\n\t\t****************************************\n 。 cout\t\t\t 統(tǒng)計(jì)數(shù)學(xué)成績(jī)endl 。 cout\t\t\t 統(tǒng)計(jì)語(yǔ)文成績(jī)endl 。 cout\t\t\t 統(tǒng)計(jì)英語(yǔ)成績(jī) 。 cout\n\t\t****************************************\nendl 。 cout\t\t請(qǐng)選擇: 。 cinx 。 switch(x) { case 1 : { cout\n\t\t請(qǐng)輸入分?jǐn)?shù)段的起始分?jǐn)?shù)和終止分?jǐn)?shù): 。 cinm 。 cinn 。 for(p = Head 。 p != End 。 p = pnext) if(pmath =m amp。amp。 pmath = n) { count ++ 。 if(count == 1) coutendlHEADER1HEADER2HEADER3 。 pshow() 。 } cout\n\t\t數(shù)學(xué)成績(jī)?cè)趍n的學(xué)生共有count人!\nendl 。 cout輸入任意字符,繼續(xù)....... 。 getch() 。 } 。 break 。 case 2: { cout\n\t\t請(qǐng)輸入分?jǐn)?shù)段的起始分?jǐn)?shù)和終止分?jǐn)?shù): 。 cinm 。 cinn 。 for(p = Head 。 p != End 。 p = pnext) if(pchinese =m amp。amp。 pchinese = n) { count ++ 。 if(count == 1) coutendlHEADER1HEADER2HEADER3 。 pshow() 。 } cout\n\t\t語(yǔ)文成績(jī)?cè)趍n的學(xué)生共有count人!\nendl 。 cout輸入任意字符,繼續(xù)....... 。 getch() 。 } 。 break 。 case 3: { cout\n\t\t請(qǐng)輸入分?jǐn)?shù)段的起始分?jǐn)?shù)和終止分?jǐn)?shù): 。 cinm 。 cinn 。 for(p = Head 。 p != End 。 p = pnext) if(penglish =m amp。amp。 penglish = n) { count ++ 。 if(count == 1) coutendlHEADER1HEADER2HEADER3 。 pshow() 。 } cout\n\t\t英語(yǔ)成績(jī)?cè)趍n的學(xué)生共有count人!\nendl 。 cout輸入任意字符,繼續(xù)....... 。 getch() 。 } 。 break 。 }}void StudentMassage::Swap(Student *p1 , Student *p2) //交p1,p2學(xué)生信息{ Student *temp = new Student 。 strcpy(tempname , p1name) 。 strcpy(tempid , p1id) 。 tempmath = p1math 。 tempchinese = p1chinese 。 tempenglish = p1english 。 tempsum = p1sum 。 strcpy(p1name , p2name) 。 strcpy(p1id , p2id) 。 p1math = p2math 。 p1chinese = p2chinese 。 p1english = p2english 。 p1sum = p2sum 。 strcpy(p2name , tempname) 。 strcpy(p2id , tempid) 。 p2math = tempmath 。 p2chinese = tempchinese 。 p2english = tempenglish 。 p2sum = tempsum 。}void StudentMassage::Sort() //排序{ Student *p = NULL , *p1 = NULL , *k = NULL 。 int n = StudentMassage::ListCount() , x , y 。 if(n 2) { cout數(shù)據(jù)較少,無(wú)法排序!endl 。 return 。 } cout\n\t\t**************************************\n 。 cout\t\t\t 按數(shù)學(xué)成績(jī)排序endl 。 cout\t\t\t 按語(yǔ)文成績(jī)排序endl 。 cout\t\t\t 按英語(yǔ)成績(jī)排序end
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1