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

正文內容

學生成績管理系統(tǒng)c編程含源碼嵌套模板1資料-在線瀏覽

2024-09-13 11:58本頁面
  

【正文】 l。 cout排名:endl。 cout(11)退出endl。 int p=0。//全局變量,用于在大項中選擇是否繼續(xù)操作 Tstu *s[100]。 int i=0。 int chris1=0。 if((p=1amp。p=11)) chris1=1。 }while(chris1==0)。 //用于在小項中選擇是否繼續(xù)操作 char name[20]。 float math,cpp,english。 cinname。 cinnumber。 cinmath。 cincpp。 cinenglish。 //作一個文本文檔在文件夾中用于顯示所錄入的數(shù)據(jù) (,ios::out|ios::app)。 return。 ()。 if(!file) //判斷文件是否打開 { cout can not open.\n。 } char ch。 coutendl。 j++。 i++。 cinc。 do{ if(c!=39。amp。c!=39。) { cout指令錯誤!請重新輸入!endl。 } else chris1=1。 }while(c==39。)。 } case 2: //增加學生數(shù)據(jù) { char name[20]。 float math,cpp,english。 do { cout請輸入您要增加的學生的姓名:endl。 cout請輸入你要增加的學生的學號:endl。 cout請輸入數(shù)學成績:endl。 cout請輸入C++成績:endl。 cout請輸入英語成績:endl。 fstream outfile,infile。 if(!file) { cout can not open.\n。 } outfilename 學號:number 數(shù)學成績:math C++成績:cpp 外語成績:englishendl。 (,ios::in)。 return。 while((h)) couth。 ()。 s[i]=new Tstu(name,number, math, cpp, english)。 cout數(shù)據(jù)錄入成功,想繼續(xù)錄入嗎(y/n)endl。 if(c!=39。amp。c!=39。) { cout指令錯誤!請重新輸入!endl。 } }while(c==39。)。 } case 3://刪除學生信息 { char c。 do { ifstream fin()。 //作一個文本文檔在文件夾中用于顯示所錄入的數(shù)據(jù) cout請輸入您要刪除的學生的姓名:endl。 while(!() ) { getline(fin,line)。 name = (0,( ,0))。 } ()。 fstream f(,ios::trunc|ios::out)。 f()。 ()。 cinc。y39。amp。n39。 cinc。y39。 break。 int nu。int flag。 if(i==0) { cout系統(tǒng)中沒有輸入數(shù)據(jù),請先輸入數(shù)據(jù)!endl。 } do { flag=0。 cinname。 ofstream outfile(,ios::trunc|ios::out)。 while(!() ) //在文件中查找 { getlin
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1