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

正文內(nèi)容

學(xué)生成績(jī)管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-免費(fèi)閱讀

  

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