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

正文內(nèi)容

學(xué)生成績(jī)管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)(編輯修改稿)

2025-09-03 06:38 本頁面
 

【文章內(nèi)容簡(jiǎn)介】 rNum++。 }} //根據(jù)輸入的學(xué)生號(hào),修改學(xué)生3項(xiàng)成績(jī),并顯示模塊void Update(){ char no[9]。 coutNo= 。 cinno。 int t。 t=CheckNo(no)。 if(t!=1) { GetData(student+t)。 PrintTitle()。//顯示表頭 DisplayOne(student+t)。 } else { cout該學(xué)生不存在endl。 }}//根據(jù)輸入的學(xué)號(hào),修改該學(xué)生的基本信息void Upstudent(){ char no[9]。 coutNo= 。 cinno。 int t。 t=CheckNo(no)。 if(t!=1) { coutNo= 。 cin(student+t)No 。 coutName= 。 cin(student+t)Name 。 coutGender= 。 cin(student+t)Gender 。 GetData(student+t)。 PrintTitle()。//顯示表頭 DisplayOne(student+t)。 } else { cout該學(xué)生不存在endl。 } }//根據(jù)輸入的學(xué)生號(hào),刪除該學(xué)生模塊void Delete(){ char no[9]。 coutNo= 。 cinno。 int t。 t=CheckNo(no)。 if(t!=1) { for(int i=t。i=CurNum1。i++) { student[i]=student[i+1]。 } CurNum。 } else { cout該學(xué)生不存在endl。 }}//根據(jù)輸入的學(xué)生號(hào),查找該生并顯示模塊void Query(){ char no[9]。 coutNo= 。 cinno。 int t。 t=CheckNo(no)。 if(t!=1) { PrintTitle()。 //顯示表頭 DisplayOne(student+t)。 //調(diào)用顯示一個(gè)學(xué)生模塊函數(shù) } else { cout該學(xué)生不存在endl。 }}//顯示全部學(xué)生模塊void Display(){ PrintTitle()。 //調(diào)用顯示表頭模塊 int i。 for(i=0。i=CurNum1。i++) { coutsetiosflags(ios_base::left)。 coutsetw(6)(student+i)No。 coutsetw(8)(student+i)Name。 coutsetw(6)(student+i)Gender。 coutresetiosflags(ios_base::left)。 coutsetw(10)(student+i)Score[0]。 coutsetw(10)(student+i)Score[1]。 coutsetw(10)(student+i)Score[2]。 coutsetw(10)(student+i)Score[3]endl。 }}//按學(xué)生號(hào)從小到大冒泡排序,并顯示模塊void SortID() { Student temp。 int flag。 for(int i=0。iCurNum1。i++) { flag=1。 for(int j=0。jCurNum1i。j++) { if(strcmp(student[j+1].No ,student[j].No)0 ) { flag=0。 temp=student[j+1]。student[j+1]=student[j]。student[j]=temp。 } } if(flag) break。 } Display()。 //排序后重新顯示}//按總成績(jī)從大到小排序void SortScore(){ Student temp。 //定義結(jié)構(gòu)體變量 int flag。 for(int i=0。
點(diǎn)擊復(fù)制文檔內(nèi)容
語文相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1