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

正文內(nèi)容

基于c++的車票管理系統(tǒng)-文庫吧

2024-10-27 16:51 本頁面


【正文】 const int N=50。 struct time //時間結(jié)構(gòu)體 ,為了與系統(tǒng)時間做比較 . { int hour。 int minutes。 }。 struct ticket //車票結(jié)構(gòu)體 ,包含車次 ,時間結(jié)構(gòu)體 ,起點 ,終點 ,行車時間 ,額定載客量 ,已訂票人數(shù) { int Number。 struct time Setout。 char Qidian[MAX]。 char Zhongdian[MAX]。 float Lasttime。 int Fixnumber。 int Fixednumber。 }car[N]。 //主函數(shù) int main() { wele()。 return 0。 } //歡迎子函數(shù) void wele() { cout________________________________________________________endl。 cout| 歡 * 迎 * 使 * 用 * 火 * 車 * 票 * 管 * 理 * 系 * 統(tǒng) |endl。 cout| |endl。 cout| 本管理系統(tǒng)有以下功能 : |endl。 cout| |endl。 cout| 1 班次錄入 |endl。 cout| 2 瀏覽班次信息 |endl。 cout| 3 查詢火車信息 |endl。 cout| 4 購買火車票 |endl。 cout| 5 退訂火車票 |endl。 cout| 6 退出系統(tǒng) |endl。 cout|______________________________________________________|endl。 cout請輸入所要執(zhí)行功能前的數(shù)字 : endl。 choose()。 } //選擇子函數(shù) void choose() { string i。 cini。 if(i==1) banciluru()。 if(i==2) liulanbancixinxi()。 if(i==3) chaxun()。 if(i==4) shoupiao()。 if(i==5) tuipiao()。 if(i==6) quit()。 else { cout輸入有誤 !請在數(shù)字 15 之間重新您的輸入選擇 !endl。 choose()。 } } //班次錄入子函數(shù) void banciluru() { string t=1。 ofstream outfile。 (班次信息 .txt,ios::app)。 for(int i=0。t==1。i++) { cout請輸入需要添加的火車班次 :endl。 cincar[i].Number。 cout請輸入此班次
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1