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

正文內(nèi)容

c學(xué)生選課系統(tǒng)(編輯修改稿)

2025-08-31 17:49 本頁面
 

【文章內(nèi)容簡介】 ******************************************************** endl endl。 cout \t 課程 課程 課程 總 授課 實驗或 學(xué)分 開課 endl。 cout \t 編號 名稱 性質(zhì) 學(xué)時 學(xué)時 上機學(xué)時 學(xué)分 學(xué)期 endl endl。 } if (v[i].xf == key) { t++。 printf(\t %3d%12s%8s%4d%6d%8d%8d%7s\n, v[i].num, v[i].name, v[i].cha, v[i].Time, v[i].time1, v[i].time2, v[i].xf, v[i].kkxq)。 } } cout endl \t 是否繼續(xù)查詢[Y/N]:。 string s。 cin s。 if (s[0] == 39。Y39。 || s[0] == 39。y39。) chaxun1()。 else MainMenu()。}void chaxun2() //按課程性質(zhì)查詢{ system(cls)。 int t = 0。 cout endl endl endl。 cout \t ******************************************************** endl。 cout \t ********************** 課 程 信 息 ******************* endl。 cout \t ******************************************************** endl endl。 cout \t 請輸入課程性質(zhì):。 char key[20]。 cin key。 cout \t 課程 課程 課程 總 授課 實驗或 學(xué)分 開課 endl。 cout \t 編號 名稱 性質(zhì) 學(xué)時 學(xué)時 上機學(xué)時 學(xué)分 學(xué)期 endl endl。 for (unsigned int i = 0。 i()。 i++) { if (tamp。amp。t % 10 == 0) { cout endl \t ======================================================== endl。 cout \t 按任意鍵查看下一頁。 _getch()。 system(cls)。 cout endl endl endl。 cout \t ******************************************************** endl。 cout \t ********************** 課 程 信 息 ******************* endl。 cout \t ******************************************************** endl endl。 cout \t 課程 課程 課程 總 授課 實驗或 學(xué)分 開課 endl。 cout \t 編號 名稱 性質(zhì) 學(xué)時 學(xué)時 上機學(xué)時 學(xué)分 學(xué)期 endl endl。 } if (!strcmp(v[i].cha, key)) { t++。 printf(\t %3d%12s%8s%4d%6d%8d%8d%7s\n, v[i].num, v[i].name, v[i].cha, v[i].Time, v[i].time1, v[i].time2, v[i].xf, v[i].kkxq)。 } } cout endl \t 是否繼續(xù)查詢[Y/N]:。 string s。 cin s。 if (s[0] == 39。Y39。 || s[0] == 39。y39。) chaxun2()。 else MainMenu()。}void tq1(char *str) //提取出選課時輸入的課程編號{ string t = 。 int i = 0, cont = 0。 while (str[i]) { if (isalnum(str[i])) t += str[i]。 else { int tmp = atoi(())。 if (TT[F].find(tmp) != TT[F].end()) { t = 。 i++。 continue。 } z[F].zxf += v[find(tmp)].xf。 TT[F].insert(tmp)。 t = 。 cont++。 } i++。 } int tmp = atoi(())。 if (TT[F].find(tmp) == TT[F].end()) { cont++。 TT[F].insert(tmp)。 z[F].zxf += v[find(tmp)].xf。 } z[F].t += cont。}void xuanke() //選課函數(shù):執(zhí)行選課功能{ char str[100]。 system(cls)。 cout endl endl。 cout \t ******************************************************** endl。 cout \t ********************** 課 程 信 息 ******************* endl。 cout \t ******************************************************** endl endl。 cout \t 課程 課程 課程 總 授課 實驗或 學(xué)分 開課 endl。 cout \t 編號 名稱 性質(zhì) 學(xué)時 學(xué)時 上機學(xué)時 學(xué)分 學(xué)期 endl endl。 for (unsigned int i = 0。 i()。 i++) { if (iamp。amp。i % 10 == 0) { cout endl \t ======================================================== endl。 cout endl \t 請輸入所選課程編號:。 gets(str)。 if (strcmp(str, )) tq1(str)。//, system(cls)。 cout endl endl。 cout \t ******************************************************** endl。 cout \t ********************** 課 程 信 息 ******************* endl。 cout \t ******************************************************** endl endl。 cout \t 課程 課程 課程 總 授課 實驗或 學(xué)分 開課 endl。 cout \t 編號 名稱 性質(zhì) 學(xué)時 學(xué)時 上機學(xué)時 學(xué)分 學(xué)期 endl endl。 } printf(\t %3d%12s%8s%4d%6d%8d%8d%7s\n, v[i].num, v[i].name, v[i].cha, v[i].Time, v[i].time1, v[i].time2, v[i].xf, v[i].kkxq)。 } cout endl \t ========================================================。 cout endl \t 請輸入所選課程編號:。 gets(str)。 if (strcmp(str, )) tq1(str)。 SaveStuInfo()。 cout \t\t是否繼續(xù)選課![Y/N]。 string x。 cin x。 if (x[0] == 39。y39。 || x[0] == 39。Y39。) xuanke()。 else XuanKeMenu()。}int find(int no) //尋找函數(shù),找到想要的課程編號{ for (unsigned int i = 0。 i()。 i++) if (v[i].num == no) return i。}void display(int i){ printf(\t %3d%12s%8s%4d%6d%8d%8d%7s\n,
點擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1