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

正文內(nèi)容

c課設(shè)實驗報告——學(xué)生信息管理系統(tǒng)(已改無錯字)

2023-03-03 13:23:01 本頁面
  

【正文】 .english。 stusco[i].english2 = stusco[i].english。 stusco[i].math1 = stusco[i].math。 stusco[i].math2 = stusco[i].math。 stusco[i].cpp1 = stusco[i].cpp。 stusco[i].cpp2 = stusco[i].cpp。 if(())break。 i++。 } f = i。 } void run::save() { int m = f。 int i = 0。 ofstream wf。 (,ios::out)。 if(!()) { return。 } 23 for(i=0。im。i++) { wfstusco[i].nameendl。 wfstusco[i].numberendl。 wfstusco[i].chineseendl。 wfstusco[i].englishendl。 wfstusco[i].mathendl。 wfstusco[i].cppendl。 } } //主函數(shù) //主菜單函數(shù) void run::menu() { cout歡迎使用學(xué)生信息管理系統(tǒng) !endl。 cout**********************************************************************endl。 cout=========================學(xué)生信息管理系統(tǒng)=============================endl。 cout**********************************************************************endl。 cout****** ******endl。 cout****** ******endl。 cout****** ******endl。 cout****** ******endl。 //成績大亍 90 分為優(yōu)秀 24 cout****** ******endl。 cout****** ******endl。 cout****** ******endl。 cout****** ******endl。 cout**********************************************************************endl。 cout=========================學(xué)生信息管理系統(tǒng)=============================endl。 cout**********************************************************************endl。 } //錄入成績函數(shù) void run::func1() { int m = f。 int flag,lo。 char p。 i = f。 do{ stusco[i].setstuscore()。 flag = 1。 for(lo=0。loi。lo++) { if(stusco[lo].getnumber()==stusco[i].getnumber()) { flag = 0。 25 } } if(flag) { cout輸入成功! endl。 i++。 }else{ cout重復(fù)輸入相同學(xué)號的學(xué)生,學(xué)生增加失?。?endl。 } cout繼續(xù)輸入請按 Y,退出請按 nendl。 cinp。 }while(p==39。y39。 || p==39。Y39。)。 f = i。 } //成績查詢函數(shù) void run::func2() { int m = f。 int k。 cout===========[1]按姓名查詢 ===========endl。 cout===========[2]按學(xué)號查詢 ===========endl。 cout請輸入查詢方式( 1 或者 2) 。 cink。 if(k==1) { char n=39。y39。 int u[10]。 26 while (n==39。y39。) { int j=0。 cout請輸入要查詢的學(xué)生姓名 :。 cinname。 int t=0。 for(。tf。t++) if(strcmp(name,stusco[t].getname())==0) { u[j]=t。 j++。 } if(j==0) { cout沒有你要查詢的學(xué)生的名字 !。//沒有找到 cout退出請按 nendl。 cinn。 if(n!=39。y39。)break。 } for(int b=0。bj。b++) { if(j2) { t=u[b]。 cout 學(xué)號 姓名 英語 數(shù)學(xué) 語文 c++ endl。 cout (int)stusco[t].getnumber() stusco[t].getname() (int)stusco[t].getenglish() (int)stusco[t].getmath() (int)stusco[t].getchinese() (int)stusco[t].getcpp()endl。 cout是否繼續(xù)查詢(繼續(xù)按 y,退出按 n) endl。 cinn。 } 27 else { t=u[b]。 } } } } if(k==2) { char n=39。y39。 while(n==39。y39。) { int j=0。 cout請輸入要查詢的學(xué)生的學(xué)號 :。 cinnumber。 int t=0。 for(。tf。t++) { if(number==stusco[t].getnumber()) { cout 學(xué)號 姓名 英語 數(shù)學(xué) 語文 c++ endl。 cout stusco[t].getnumber() stusco[t].getname() stusco[t].getenglish() stusco[t].getmath() stusco[t].getchinese() stusco[t].getcpp()endl。 cout是否繼續(xù)查詢(繼續(xù)按 y,退出按 n) endl。 cinn。 break。 } } 28 if(number!=stusco[t].getnumber()) { cout沒有你要查詢的學(xué)生 !。 cout退出請按 nendl。 cinn。 } if(n!=39。y39。)break。 } } f = m。 } //修改信息函數(shù) void run::func3() { int m = f。 int j=0,b[20]。 int flag。 char n=39。y39。 while (n==39。y39。) { cout請輸入要修改成績的學(xué)生學(xué)號 :。 cinnumber。
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1