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

正文內(nèi)容

學(xué)生成績管理系統(tǒng)c編程含源碼嵌套模板1資料(編輯修改稿)

2024-08-30 11:58 本頁面
 

【文章內(nèi)容簡介】 }while(c==39。y39。)。 //重復(fù)輸入 break。 } case 2: //增加學(xué)生數(shù)據(jù) { char name[20]。 int number。 float math,cpp,english。 char c。 do { cout請輸入您要增加的學(xué)生的姓名:endl。 cinname。 cout請輸入你要增加的學(xué)生的學(xué)號:endl。 cinnumber。 cout請輸入數(shù)學(xué)成績:endl。 cinmath。 cout請輸入C++成績:endl。 cincpp。 cout請輸入英語成績:endl。 cinenglish。 fstream outfile,infile。 (,ios::out|ios::app)。 if(!file) { cout can not open.\n。 return。 } outfilename 學(xué)號:number 數(shù)學(xué)成績:math C++成績:cpp 外語成績:englishendl。 ()。 (,ios::in)。 if(!file) { cout can not open.\n。 return。 } char h。 while((h)) couth。 coutendl。 ()。 j++。 s[i]=new Tstu(name,number, math, cpp, english)。 i++。 cout數(shù)據(jù)錄入成功,想繼續(xù)錄入嗎(y/n)endl。 cinc。 if(c!=39。y39。amp。amp。c!=39。n39。) { cout指令錯(cuò)誤!請重新輸入!endl。 cinc。 } }while(c==39。y39。)。 break。 } case 3://刪除學(xué)生信息 { char c。 string xingming,line,str,name。 do { ifstream fin()。 fstream outfile(,ios::trunc|ios::out)。 //作一個(gè)文本文檔在文件夾中用于顯示所錄入的數(shù)據(jù) cout請輸入您要?jiǎng)h除的學(xué)生的姓名:endl。 cinxingming。 while(!() ) { getline(fin,line)。 istringstream stream(line)。 name = (0,( ,0))。//找到名字,判斷是否相等 if(name != xingming) outfilelineendl。 } ()。 ()。 fstream f(,ios::trunc|ios::out)。 ifstream outf()。 f()。 ()。 ()。 cout數(shù)據(jù)刪除成功,想繼續(xù)刪除嗎(y/n)endl。 cinc。 if(c!=39。y3
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1