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

正文內容

學生成績管理系統(tǒng)的設計與實現(xiàn)(更新版)

2025-09-15 06:38上一頁面

下一頁面
  

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