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

正文內(nèi)容

學(xué)生成績(jī)管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-預(yù)覽頁(yè)

 

【正文】 E,QUERY,DISPLAY,SORTID,SORTSCORE,END}。 int Score[4]。 //輸入選項(xiàng)void Init()。 //修改學(xué)生基本信息void Delete()。 //顯示全部學(xué)生void DisplayOne(Student*)。 //保存文件int CheckNo(char *)。 //最大人數(shù)extern int CurNum。 cin Choice。 //輸出文件流對(duì)象 (,ios::in)。 //寫入學(xué)生人數(shù) ()。 for(int i=0。 inStudent(student+i)Gender。 inStudent(student+i)Score[3]。 }} //增加一個(gè)學(xué)生模塊void Add(){ char no[9]。 if (i=0) coutNo. repeated,Input againendl。 coutGender= 。 DisplayOne(student+CurNum)。 cinno。 PrintTitle()。 coutNo= 。 if(t!=1) { coutNo= 。 coutGender= 。//顯示表頭 DisplayOne(student+t)。 cinno。i=CurNum1。 }}//根據(jù)輸入的學(xué)生號(hào),查找該生并顯示模塊void Query(){ char no[9]。 t=CheckNo(no)。 }}//顯示全部學(xué)生模塊void Display(){ PrintTitle()。i++) { coutsetiosflags(ios_base::left)。 coutresetiosflags(ios_base::left)。 coutsetw(10)(student+i)Score[3]endl。iCurNum1。j++) { if(strcmp(student[j+1].No ,student[j].No)0 ) { flag=0。 } } if(flag) break。 for(int i=0。jCurNum1i。student[j]=temp。 coutsetw(6)No。 coutsetw(10)Score0。}//顯示一個(gè)學(xué)生情況模塊void DisplayOne(Student* stu){ coutsetiosflags(ios_base::left)。 coutresetiosflags(ios_base::left)。 coutsetw(10)stuScore[3]endl。 ()。i++) { outStudentsetw(6)(student+i)No。 outStudentsetw(10)(student+i)Score[1]。//}//檢查學(xué)生號(hào)是否存在,找到返回所在數(shù)組下標(biāo),找不到返回1模塊int CheckNo(char* no){ for(int i=0。}//讀入學(xué)生3項(xiàng)成績(jī)模塊void GetData(Student* stu){ for(int i=0。 } stuScore[3]=stuScore[0]+stuScore[1]+stuScore[2]。 //數(shù)據(jù)文件初始化void Add( )。 //按學(xué)號(hào)排序(從小到大)void SortName( )。 //顯示表頭void GetData(Student *)。 //刪除一個(gè)學(xué)生void Query( )。const int MaxNum=100。 //調(diào)用Init()模塊函數(shù) int choice。 //調(diào)用Update()模塊函數(shù) break。 //調(diào)用Query()模塊函數(shù) break。 //調(diào)用SortID()模塊函數(shù) break。 //調(diào)用 Upstudent()模塊函數(shù) break。經(jīng)過仔細(xì)看課本及查閱其他書籍,了解到C++語言中,文件包含預(yù)處理命令有兩種格式include文件名或include”文件名“,這兩種格式在查找文件的方式上有區(qū)別。
點(diǎn)擊復(fù)制文檔內(nèi)容
語文相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1