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

正文內(nèi)容

大學(xué)c課程設(shè)計(jì)報(bào)告--學(xué)生成績(jī)管理系統(tǒng)(附源代碼-資料下載頁(yè)

2025-08-09 15:16本頁(yè)面
  

【正文】 6 查找信息 ┃endl。 cout┃ ┃endl。 cout┃ 7 刪除全部 ┃endl。 cout┃ ┃endl。 cout┃ 其他鍵退出 ┃endl。 cout┃ ┃endl。 cout┗━━━━━━━━━━━━━━━━━┛endl。 cout 選擇17數(shù)字進(jìn)行操作endl。 cout 你的選擇是:。}//查找函數(shù)的調(diào)用void fun_lookup(student amp。a){ int n。 string str。 name_of_number()。 cout 你的選擇是:。 cinn。 while(()) { err_char()。 cout 你的選擇是:。 cinn。 } if(n!=1amp。amp。n!=2) n=1。 cout 請(qǐng)輸入查找關(guān)鍵字:。 cinstr。 (n,str)。}//修改函數(shù)void fun_rework(student amp。a){ int n。 string str。 name_of_number()。 cout 你的選擇是:。 cinn。 while(()) { err_char()。 cout 你的選擇是:。 cinn。 } if(n!=1amp。amp。n!=2) n=1。 cout 請(qǐng)輸入修改關(guān)鍵字:。 cinstr。 (n,str)。}//刪除函數(shù)的調(diào)用void fun_del(student amp。a){ int n。 string str。 name_of_number()。 cout 你的選擇是:。 cinn。 while(()) { err_char()。 cout 你的選擇是:。 cinn。 } if(n!=1amp。amp。n!=2) n=1。 cout 請(qǐng)輸入刪除關(guān)鍵字:。 cinstr。 (n,str)。}//排序函數(shù)的調(diào)用void fun_positor(student amp。a){ int n,m。 cout┏━━━━━━━━━━━━━━━━━┓endl。 cout┃ 請(qǐng)輸入按什么排序 ┃endl。 cout┃ ┃endl。 cout┃ 1 按學(xué)號(hào)排序 2 按總分排序 ┃endl。 cout┃ 3 按平均分排 ┃endl。 cout┃ ┃endl。 cout┃ 輸入其它數(shù)字則按學(xué)號(hào)排序 ┃endl。 cout┃ 輸入其它不是數(shù)字重新輸入 ┃endl。 cout┗━━━━━━━━━━━━━━━━━┛endl。 cout 你的選擇是:。 cinn。 while(()) { err_char()。 cout 你的選擇是:。 cinn。 } if(n!=1amp。amp。n!=2amp。amp。n!=3) { n=1。 } cout┏━━━━━━━━━━━━━━━━━┓endl。 cout┃ 請(qǐng)選擇排序類(lèi)型 ┃endl。 cout┃ ┃endl。 cout┃ 1 按降序排序 2 按升序排序 ┃endl。 cout┃ ┃endl。 cout┃ 輸入其它數(shù)字則按降序排序 ┃endl。 cout┃ ┃endl。 cout┃ 輸入其它不是數(shù)字重新輸入 ┃endl。 cout┗━━━━━━━━━━━━━━━━━┛endl。 cout 你的選擇是:。 cinm。 while(()) { err_char()。 cout 你的選擇是:。 cinm。 } if(n!=1amp。amp。n!=2) { m=1。 } //輸出排序后的結(jié)果 (n,m)。}//成績(jī)范圍檢測(cè)函數(shù)void score_err(){ cout┏━━━━━━━━━━━━━━━┓endl。 cout┃ 輸入的成績(jī)應(yīng)該在0100之間 ┃endl。 cout┃ ┃endl。 cout┃ 請(qǐng)返回重新輸入 ┃endl。 cout┗━━━━━━━━━━━━━━━┛endl。}//退出程序函數(shù)void fun_exit(){ cout┏━━━━━━━━━━┓endl。 cout┃ 程序即將退出 ┃endl。 cout┗━━━━━━━━━━┛endl。 cout 。system(pause)。 exit(1)。}//輸入錯(cuò)誤字符檢測(cè)函數(shù)void err_char(){ cout┏━━━━━━━━━━━━━┓endl。 cout┃輸入了非法字符,請(qǐng)重新輸入┃endl。 cout┗━━━━━━━━━━━━━┛endl。 ()。 ()。}//選擇姓名還是學(xué)號(hào)void name_of_number(){ cout┏━━━━━━━━━━┓endl。 cout┃ 請(qǐng)輸入關(guān)鍵字類(lèi)型 ┃endl。 cout┃ ┃endl。 cout┃ 1 學(xué)號(hào) 2 姓名 ┃endl。 cout┃ ┃endl。 cout┃ 其它數(shù)字默認(rèn)學(xué)號(hào) ┃endl。 cout┃ 輸入非數(shù)字重新輸入 ┃endl。 cout┗━━━━━━━━━━┛endl。}////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////主函數(shù)文件void fun_lookup(student amp。a)。//查找函數(shù)的調(diào)用定義void fun_del(student amp。a)。//刪除函數(shù)的調(diào)用定義void fun_positor(student amp。a)。//排序函數(shù)的調(diào)用定義void fun_rework(student amp。a)。//修改函數(shù)的調(diào)用定義void fun_exit()。//退出程序函數(shù)的定義void main(){ student a。 while(1) { int i。 system(cls)。 //清屏功能 menu()。 cini。 if(()) //輸入非法字符時(shí)退出 fun_exit()。 switch (i) { case 1: ()。break。 //增加記錄 case 2: fun_del(a)。break。 //刪除記錄 case 3: fun_rework(a)。break。 //修改記錄 case 4: fun_positor(a)。break。 //記錄排序 case 5: ()。break。 //查看記錄 case 6: fun_lookup(a)。break。 //查找記錄 case 7: ()。break。 //清空鏈表 default: fun_exit()。 //其它鍵退出 } }}28
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1