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

正文內(nèi)容

c“加”“加”酒店管理系統(tǒng)課程設(shè)計-wenkub.com

2025-04-04 05:20 本頁面
   

【正文】 有時還會出現(xiàn)程序成功運行后,但是在dos界面選擇一些功能時出現(xiàn)無限循環(huán),解決的方法是先看所寫的循環(huán)語句是否出現(xiàn)錯誤,Debug/ : fatal error LNK1120: 1 unresolved externals,運行錯誤提示,也總是出現(xiàn),經(jīng)過上網(wǎng)查詢找出解決方法原因是設(shè)置的參數(shù)有問題。 ()。 39。 39。 39。 39。 39。i20。 hotel[i].kongxian=2。 cout天 數(shù):。 cout聯(lián)系方式:。 cout姓 名:。 cina。}void dingfangdengji(){ int i,a。 while(i20) { if(hotel[i].yudingriqi!=0) coutsetw(4)hotel[i].numsetw(8)hotel[i].leixingsetw(10)hotel[i].namesetw(20) hotel[i].IDsetw(13)hotel[i].lianxifangshisetw(8)hotel[i].yajin setw(12)hotel[i].yudingriqisetw(10)hotel[i].tianshusetw(10)hotel[i].ruzhushijianendl。 } ()。 int i=0。 i++。 i=0。 (117,ios::beg)。 i++。 cout房間號 類型 房間價格(元/天) 元/小時endl。 } system(pause)。 while(i20) { liulanhotel[i].numhotel[i].leixinghotel[i].jiagehotel[i].kongxianhotel[i].name hotel[i].IDhotel[i].lianxifangshihotel[i].yajinhotel[i].yudingriqihotel[i].ruzhushijian hotel[i].tianshuhotel[i].jiezhiriqi。return。 system(cls)。 cout\t\t%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%endl。 cout\t\t% %endl。 default:cout輸入錯誤,請重新輸入endl。 case 3:ruzhuxinxi()。 while(i!=5) { switch(i) //用switch語句判斷選擇查詢的方法 { case 1:all_message()。 cout\t\t%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%endl。 cout\t\t% %endl。 void dingfangxinxi()。 system(pause)。hotel[i].tianshu39。hotel[i].yudingriqi39。hotel[i].lianxifangshi39。hotel[i].name 39。hotel[i].jiage39。i++) { xieruhotel[i].num39。 fstream xieru(,ios::out)。 hotel[b].jiezhiriqi=0。 strcpy(hotel[b].ID,0)。 jsxx押金足夠 應(yīng)返還給您:fei元endl。 jsxx姓名:hotel[b].nameendl押金(元):hotel[b].yajinendl入住時間:hotel[b].ruzhushijianendl結(jié)算時間:dendl。 } else { cout總消費金額為:hotel[b].yajinfei元endl。 if(t==2) fei=hotel[b].yajin((hotel[b].jiezhiriqihotel[b].ruzhushijian)*(hotel[b].jiage/100))。 int fei。 cout請輸結(jié)算入日期:。 cout房間信息為:endl。//在輸入文件開頭以參照位置為基礎(chǔ)移動若干字節(jié)(beg=begin) while(i20) { finhotel[i].numhotel[i].leixinghotel[i].jiagehotel[i].kongxianhotel[i].name hotel[i].IDhotel[i].lianxifangshihotel[i].yajinhotel[i].yudingriqihotel[i].ruzhushijian hotel[i].tianshuhotel[i].jiezhiriqi。 cout請輸入房號:。 ()。 39。 39。 39。 39。 39。i20。 hotel[i].kongxian=2。 cout天 數(shù):。 cout聯(lián)系方式:。 cout姓 名:。 cinb。k20。 } else { cout該房沒有被預(yù)訂過endl。 cinhotel[i].ruzhushijian。 cinb。 cout是否預(yù)訂過房間?endl。 coutsetw(4)hotel[i].numsetw(8)hotel[i].leixingsetw(9)hotel[i].jiage/100setw(14)hotel[i].jiage%100setw(13) hotel[i].kongxian。 } else (117,ios::beg)。 string name。 cinchose。 cout\t\t 5. 退 出 endl。 cout\t\t 歡迎使用百康賓館管理系統(tǒng) endl。break。break。 cinchose。 if(p==1) chushihua()。}void main(){ int p=0。hotel[x].tianshu39。hotel[x].yudingriqi39。hotel[x].lianxifangshi39。hotel[x].name 39。hotel[x].jiage39。x++) { xieruhotel[x].num39。 } fstream xieru(,ios::out)。break。strcpy(hotel[k].leixing,雙人間)。 switch(i[0]) { case 1:{hotel[k].jiage=17020。 strcpy(hotel[k].name,0)。 strcpy(hotel[k].ID,0)。}void chushihua(){ int i[3]={1,0,1},k=0。 cout\t\t 房 endl。 cout\t\tendl。 int tianshu。 char lianxifangshi[15]。 int jiage。void ruzhixinxi()。void ruzhudengji()。賬單信息存入到磁盤文件當(dāng)中去。hotel[i].jiezhiriqiendl。hotel[i].ruzhushijian 39。hotel[i].yajin39。hotel[i].ID39。hotel[i].kongxian39。hotel[i].leixing39。 for(i=0。 hotel[b].tianshu=0。 hotel[b].yudingriqi=0。 hotel[b].kongxian=0。 else jsxx計費方式:按小時計費endl。 } fstream jsxx(,ios::out)。 //按小時計算 if(fei0) { fei=fei。 int t。 cind。 coutsetw(6)hotel[b].namesetw(8)hotel[b].yajinsetw(20)hotel[b].ruzhushijianendl。 i++。 int c=0,i=0。 退房結(jié)算流程圖void tuifang(){ int a,b。 cout登記成功endl。hotel[i].tianshu39。hotel[i].yudingriqi39。hotel[i].lianxifangshi39。hotel[i].name 39。hotel[i].jiage39。i++) xieruhotel[i].num39。 } } ofstream xieru(,ios::out)。 cinhotel[i].tianshu。 cinhotel[i].lianxifangshi。 cinhotel[i].name。 for(i=0。k++) { if(hotel[k].kongxian==0) couthotel[k].num 。 system(pause)。 cout請輸入截止日期:。 for(i=0。 cout是,請輸入1,否,請輸入2endl。 //輸出所有房間信息 i++,coutendl。//在輸入文件開頭以參照位置為基礎(chǔ)移動若干字節(jié)(beg=begin) int i=0。 ifstream liulan(,ios::in)。 while(chose==0) { cout輸入錯誤,按任意鍵退出程序:endl。 cout\t\t 感 * 謝 * 您 * 的 * 使 * 用 endl。 cout\t\t 請輸入您所需要的功能: endl。//退房 case 5:exit(0)。//訂房間 case 3:ruzhudengji()。 while(chose!=0) {
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1