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

正文內(nèi)容

學(xué)生成績管理系統(tǒng)的設(shè)計與實現(xiàn)-文庫吧在線文庫

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

下一頁面
  

【正文】 re ( )。 //查詢學(xué)生信息void Save()。 char Name[9]。 //增加一個學(xué)生void Update()。 //按學(xué)號排序(從小到大)void SortScore ()。 //結(jié)構(gòu)體數(shù)組//輸入選擇函數(shù)int EnterChoice(){ cout\nEnter your Choice\n 1: add student 2: update student\n 3: delete student 4: query student\n 5: display students 6: Sort student by No\n 7: Sort student by score 8: Upstudent\n 9: end\n。 (,ios::out)。i++) //讀取學(xué)生數(shù)據(jù) { inStudent(student+i)No。 } else { (,ios::out)。 coutName= 。 }} //根據(jù)輸入的學(xué)生號,修改學(xué)生3項成績,并顯示模塊void Update(){ char no[9]。 } else { cout該學(xué)生不存在endl。 coutName= 。 } }//根據(jù)輸入的學(xué)生號,刪除該學(xué)生模塊void Delete(){ char no[9]。 } CurNum。 //顯示表頭 DisplayOne(student+t)。 coutsetw(8)(student+i)Name。 int flag。student[j+1]=student[j]。i++) { flag=1。 } Display()。 coutsetw(10)Score2。 coutsetw(10)stuScore[1]。// for(int i=0。 outStudentsetw(10)(student+i)Score[3]endl。i++) { coutScorei= 。 //顯示全部學(xué)生void DisplayOne(Student *)。 //修改學(xué)生成績void Upstudent( )。 //當(dāng)前人數(shù)Student student[MaxNum]。 //調(diào)用Delete()模塊函數(shù) break。 //調(diào)用SortScore()模塊函數(shù) break。像加extern表示對外部函數(shù)或全局變量聲明,用include cstring對字符串的復(fù)制,比較等等。} } Save()。 //調(diào)用Display()模塊函數(shù) break。 //調(diào)用Add()模塊函數(shù) break。 //保存學(xué)生信息void SortScore( )。 //保存數(shù)據(jù)int CheckNo(char *)。//模塊函數(shù)申明:int EnterChoice( )。i++) { if(strcmp(student[i].No,no)==0) //字符串比較函數(shù) { return i。 outStudentsetw(6)(student+i)Gender。 (,ios::out)。 coutsetw(8)stuName。 coutsetw(6)Gender。 temp=student[j+1]。 //排序后重新顯示}//按總成績從大到小排序void SortScore(){ Student temp。 for(int j=0。 coutsetw(10)(student+i)Score[1]。 for(i=0。 cinno。 t=CheckNo(no)。 GetData(student+t)。 int t。 t=CheckNo(no)。 GetData(student+CurNum)。 cinno。 inStudent(student+i)Score[1]。 //讀取學(xué)生數(shù) ()。} //初始化函數(shù)vo
點擊復(fù)制文檔內(nèi)容
語文相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1