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

正文內(nèi)容

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

2025-06-09 18:49 本頁面
 

【文章內(nèi)容簡介】 ut請輸入任意字符,繼續(xù)...... 。 getch() 。 } } break 。 }}void StudentMassage::ModifyItem() //修改學(xué)生信息{ char name[20] 。 Student *p = NULL 。 cout\n\t\t請輸入要修改的學(xué)生的姓名: 。 cinname 。 if(p = FindItem(name)) { cout\n\t\t已找到該學(xué)生,請輸入新的信息!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請輸入要刪除的學(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() //成績統(tǒng)計{ Student *p 。 int x , m , n ,count = 0 。 if(!Head) { cout\n\t\t沒有資料可以統(tǒng)計!endl 。 return 0 。 } cout\n\t\t****************************************\n 。 cout\t\t\t 統(tǒng)計數(shù)學(xué)成績endl 。 cout\t\t\t 統(tǒng)計語文成績endl 。 cout\t\t\t 統(tǒng)計英語成績 。 cout\n\t\t****************************************\nendl 。 cout\t\t請選擇: 。 cinx 。 switch(x) { case 1 : { cout\n\t\t請輸入分數(shù)段的起始分數(shù)和終止分數(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é)成績在mn的學(xué)生共有count人!\nendl 。 cout輸入任意字符,繼續(xù)....... 。 getch() 。 } 。 break 。 case 2: { cout\n\t\t請輸入分數(shù)段的起始分數(shù)和終止分數(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語文成績在mn的學(xué)生共有count人!\nendl 。 cout輸入任意字符,繼續(xù)....... 。 getch() 。 } 。 break 。 case 3: { cout\n\t\t請輸入分數(shù)段的起始分數(shù)和終止分數(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英語成績在mn的學(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ù)較少,無法排序!endl 。 return 。 } cout\n\t\t**************************************\n 。 cout\t\t\t 按數(shù)學(xué)成績排序endl 。 cout\t\t\t 按語文成績排序endl 。 cout\t\t\t 按英語成績排序end
點擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1