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

正文內(nèi)容

學生成績管理系統(tǒng)的設計與實現(xiàn)-預覽頁

2025-08-31 06:38 上一頁面

下一頁面
 

【正文】 E,QUERY,DISPLAY,SORTID,SORTSCORE,END}。 int Score[4]。 //輸入選項void Init()。 //修改學生基本信息void Delete()。 //顯示全部學生void DisplayOne(Student*)。 //保存文件int CheckNo(char *)。 //最大人數(shù)extern int CurNum。 cin Choice。 //輸出文件流對象 (,ios::in)。 //寫入學生人數(shù) ()。 for(int i=0。 inStudent(student+i)Gender。 inStudent(student+i)Score[3]。 }} //增加一個學生模塊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ù)輸入的學生號,查找該生并顯示模塊void Query(){ char no[9]。 t=CheckNo(no)。 }}//顯示全部學生模塊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。}//顯示一個學生情況模塊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]。//}//檢查學生號是否存在,找到返回所在數(shù)組下標,找不到返回1模塊int CheckNo(char* no){ for(int i=0。}//讀入學生3項成績模塊void GetData(Student* stu){ for(int i=0。 } stuScore[3]=stuScore[0]+stuScore[1]+stuScore[2]。 //數(shù)據(jù)文件初始化void Add( )。 //按學號排序(從小到大)void SortName( )。 //顯示表頭void GetData(Student *)。 //刪除一個學生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)過仔細看課本及查閱其他書籍,了解到C++語言中,文件包含預處理命令有兩種格式include文件名或include”文件名“,這兩種格式在查找文件的方式上有區(qū)別。
點擊復制文檔內(nèi)容
語文相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1