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

正文內(nèi)容

學(xué)生成績(jī)管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)(更新版)

  

【正文】 entsetw(10)(student+i)Score[2]。// (,ios::out)。 coutsetw(10)stuScore[0]。 coutsetw(10)Score1。 } } if(flag) break。iCurNum1。 temp=student[j+1]。 }}//按學(xué)生號(hào)從小到大冒泡排序,并顯示模塊void SortID() { Student temp。 coutsetw(6)(student+i)No。 if(t!=1) { PrintTitle()。i++) { student[i]=student[i+1]。 } else { cout該學(xué)生不存在endl。 cin(student+t)No 。//顯示表頭 DisplayOne(student+t)。 //排序后重新顯示 CurNum++。 else { strcpy(student[CurNum].No ,no)。 / } ()。iCurNum。 //打開(kāi)學(xué)生人數(shù)文件,ios::in是fstream,istream的默認(rèn)模式 if(!inCount) //文件不存在,建立該文件 { ()。 //當(dāng)前人數(shù)extern Student student[MaxNum]。 //顯示一個(gè)學(xué)生的重載函數(shù)void SortID()。 //數(shù)據(jù)文件初始化void Add()。五、程序清單 //結(jié)構(gòu)定義文件// ifndef STUDENT_Hdefine STUDENT_Hstruct Student{ char No[9]。 //刪除一個(gè)學(xué)生信息void Query()。 //顯示一個(gè)學(xué)生信息void SortID( )。三、模塊(函數(shù))的劃分,各模塊(函數(shù))的功能void main( ) //主函數(shù)int EnterChoice( )。 //輸入學(xué)生學(xué)號(hào),檢查應(yīng)該學(xué)號(hào)是否有記錄void Upstudent( )。 char Name[9]。 int Score[4]。 //修改學(xué)生基本信息void Delete()。 //保存文件int CheckNo(char *)。 cin Choice。 //寫(xiě)入學(xué)生人數(shù) ()。 inStudent(student+i)Gender。 }} //增加一個(gè)學(xué)生模塊void Add(){ char no[9]。 coutGender= 。 cinno。 coutNo= 。 coutGender= 。 cinno。 }}//根據(jù)輸入的學(xué)生號(hào),查找該生并顯示模塊void Query(){ char no[9]。 }}//顯示全部學(xué)生模塊void Display(){ PrintTitle()。 coutresetiosflags(ios_base::left)。iCurNum1。 } } if(flag) break。jCurNum1i。 coutsetw(6)No。}//顯示一個(gè)學(xué)生情況模塊void DisplayOne(Student* stu){ coutsetiosflags(ios_base::left)。 coutsetw(10)stuScore[3]endl。i++) { outStudentsetw(6)(student+i)No。//}//檢查學(xué)生號(hào)是否存在,找到返回所在數(shù)組下標(biāo),找不到返回1模塊int CheckNo(char* no){ for(int i=0。 } stuScore[3]=stuScore[0]+stuScore[1]+stuScore[2]。 //按學(xué)號(hào)排序(從小到大)void SortName( )。 //刪除一個(gè)學(xué)生void Query( )。 //調(diào)用Init()模塊函數(shù) int choice。 //調(diào)用Query()模塊函數(shù) break。 //調(diào)用 Upstudent()模塊函數(shù) break。
點(diǎn)擊復(fù)制文檔內(nèi)容
語(yǔ)文相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1