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

正文內(nèi)容

學生成績管理系統(tǒng)-c課程設計-課程設計(編輯修改稿)

2025-02-25 22:43 本頁面
 

【文章內(nèi)容簡介】 t nu,double cc,double eng,double ma,double sp,double l,double hb,double ) {strcpy(name,n)。 number=nu。 cpro=cc。 english=eng。math=ma。sport=sp。law=l。hbpro=hb。puter=。 } friend void main()。 }。 void main() { cout *********歡迎進入學生成績管理系統(tǒng) !*********endl。 cout ******************************************endl。 cout **** 學生成績管理系統(tǒng) ****endl。 cout ******************************************endl。 cout *******原文請找 *******************endl。 cout **0、輸入數(shù)據(jù) **endl。 cout **增加數(shù)據(jù) **endl。 cout **修改數(shù)據(jù) **endl。 cout **按姓名查詢 **endl。 cout **按學號查詢 **endl。 cout **輸出所有學生的成績 **endl。 cout **退出系統(tǒng) **endl。 cout **************************endl。 cout 選擇 06 數(shù)字進行操作 endl。 cout ============================endl。 char p。char w。 student *s[50]。 //指針對象,最多存 50 個學生數(shù)據(jù) ofstream *file[50]。 //負責對文件插入操作 int i=0。 int j=0。 int flag=0。 do //flag 判斷輸入是否有效 { cinp。 if((p=39。039。amp。amp。p=39。639。)) flag=1。 else cout 指令錯誤!請重新輸入: endl。 }while(flag==0)。 do{ switch(p) //接收功能選項 { case 39。039。: //輸入數(shù)據(jù) { char c。 char name[20]。int number。double cpro,english,math,sport,law,hbpro,puter。 do{ cout 請輸入姓名 :。 cout 請輸入 C++成績 :。 cincpro。 coutendl 請輸入英語成績 :。 cinenglish。 coutendl 請輸入數(shù)學成績 :。 cinmath。 coutendl 請輸入體育成績 :。 cinsport。 coutendl 請輸入法律基礎成績 :。 cinlaw。 coutendl 請輸入?yún)R編語言成績 :。 cinhbpro。 coutendl 請輸入微機原理成績 :。 cinputer。 coutendl。 file[j]=new ofstream(D:,ios::ate)。 *file[j] 姓名 name 學號 number C++成績 cpro 英語成績 english 數(shù)學成績 math 體育成績 sport 法律基礎成績 law 匯編成績 hbpro 微機原理成績 puterendl。 j++。 s[i]=new student(name, number,cpro,english,math,sport,law,hbpro,puter)。 i++。 cout 數(shù)據(jù)輸入成功,想繼續(xù)輸入嗎 (y/n):。 cinc。 coutendl。 do { if(c!=39。y39。amp。amp。c!=39。n39。) { cout 指令錯誤!請重新輸入! endl 。 cinc。 } else flag=1。 }while(flag==0)。 }while(c==39。y39。)。 break
點擊復制文檔內(nèi)容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1