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

正文內(nèi)容

3768t旅店管理系統(tǒng)課程設(shè)計(jì)報(bào)告-wenkub.com

2024-09-01 12:02 本頁(yè)面
   

【正文】 } } demand_display(p)。 if(pnext==NULLamp。 p=headp。pID_num!=ID_number) { cout\n 沒(méi)有信息!\n。 cinID_number。 } } demand_display(p)。 if(pnext=NULLamp。 p=headp。 //按房間號(hào)查詢 if(kerenchaxun==4) info_demand()。 p=headp。 cout\n 3按客房號(hào)碼查詢 4返回上一層菜單\n。}void guest_info_demand() //客人信息查詢函數(shù){ system(cls)。 cout 按 回 車 鍵 返 回 上 一 層 菜 單 !。 thank_face()。 p=pnext。 cout 客房號(hào) 客房類型 客房?jī)r(jià)格 使用狀態(tài)\n。 //返回上一層菜單(客房狀態(tài)查詢函數(shù)) } else if(y==x) goto R1。 cout\n 是否繼續(xù)精確查詢(y/n)? 。amp。 else if(pempty==1) coutsetw(16)使用\n。amp。 cout\n\n 請(qǐng)輸入你要查詢的客房號(hào): 。 thank_face()。 p=pnext。 goto Z。//調(diào)用 查詢空客房函數(shù) if(x==2) exact_room_state()。 cout\n 請(qǐng)輸入: 。 cout ******************************************************************\n。 //服務(wù)人員系統(tǒng)界面顯示函數(shù) } else { cout 你的輸入有誤! 請(qǐng)重新輸入: 。 if(x==1) room_state_demand()。 cout********************************************************************\n 。//本文件中的全局變量void info_demand() //信息查詢函數(shù){ system(cls)。 getchar()。 p=pnext。 cout 客房號(hào) 客房類型 客房?jī)r(jià)格 使用狀態(tài) 入住人員\n。 if(figure==2) //若是服務(wù)人員,返回服務(wù)人員主菜單 main_third_serve_display()。 string b=0。 save_hotel()。i3。 for(int i=0。 cguest_name=39。 coutsetw(8)croom_numsetw(8)ctypesetw(14)cprice。 coutsetw(8)coutime[0]coutime[1]coutime[2] 。 cout\n\n 客人信息如下:\n\n。amp。 cout 你選擇了客人退房結(jié)算功能,請(qǐng)輸入房間號(hào):。 } else //退房 年 等于 入住 年 sum=onin。 if (uintime[0]!=uoutime[0])//退房 年 不等于 入住 年 { for(int i=uintime[0]。 return n。break。imonth。 else y=0。}退房結(jié)算include int judge_leap_year(int year) //閏年判斷函數(shù){ int y=0。 if(y==a) register_info()。 } } string a=0。 } if(n==w) { register_guest_info(x)。) { cinw。 coutsetw(8)xroom_numsetw(10)xguest_namesetw(10)xID_numsetw(10)xintime[0]xintime[1]xintime[2]setw(10)xoutime[0]xoutime[1]xoutime[2] setw(8)xprepayendl。 cinxprepay。 cout\n 姓名 身份證號(hào) 入住時(shí)間 退房時(shí)間 預(yù)付費(fèi)用\n 。 i++。(rempty==0)) register_guest_info(r)。(rempty==1)) { cout\n 該房間正在使用,請(qǐng)輸入其它房間!\n。 cinreg。 if(i=0amp。 cout\n 客房號(hào)碼 客房類型 客房?jī)r(jià)格 使用狀態(tài)\n。 string reg=0。 outfilepprepayendl。 p=headp。 p=pnext。 main_third_serve_display()。//客房信息保存函數(shù) save_guest()。 p=headp。 cout\n\n 客房號(hào) 客房類型 客房?jī)r(jià)格\n。 continue。 if (n==a) main_third_serve_display()。 cout 此 功 能 將 清 除 之 前 所 有 信 息 !。}客房信息錄入include void room_infor_in() //客房信息錄入功能函數(shù){ string a=0。i++) infilepoutime[i]。i3。 ifstream infile(,ios::in)。 } p2next=NULL。 p1ID_num=0。 p2=p1。 head=NULL。 p1ID_num=0。 getchar()。p1room_num==0) { cout\n\n\n\n 客房信息不存在!請(qǐng)輸入信息!。 } p1=p2=new hotel_guest。 while(!kbhit())。 ifstream infile(,ios::in)。 continue。 } T=p。 cout 請(qǐng)輸入客房號(hào):。 hotel_guest *T。 p1prepay=0。i++) p1intime[i]=0。 p1ID_num=39。 cinp1room_nump1typep1price。 else p2next=p1。 p1prepay=0。i++) p1intime[i]=0。 p1ID_num=39。 cinp1room_nump1typep1price。 n=0。 } else { p1next=p0。 //使p2指向剛才p1指向的結(jié)點(diǎn) p1=p1next。p0next=NULL。}struct hotel_guest *insert(hotel_guest *head,hotel_guest *ins) //客房信息動(dòng)態(tài)鏈表結(jié)點(diǎn)的插入{ hotel_guest *p0,*p1,*p2。 //使head指向第一個(gè)結(jié)點(diǎn) if(p1==head) head=p1next。 getchar()。 cout\n\n\n\n * * * 警 告 * * *\n\n。amp。 //客房信息插入函數(shù) else if(main_select==9) exit_system()。 //調(diào)用 客房信息瀏覽函數(shù) else if(main_select==5) info_demand()。 //調(diào)用 客房信息錄入功能函數(shù) else if(main_select==2) register_info()。 //服務(wù)人員選擇函數(shù)調(diào)用}void main_serve_choose() //服務(wù)人員選擇函數(shù){ cout 請(qǐng)輸入你要使用的功能序號(hào): 。 cout ※ 7 客房信息修改 ※ 8 客房信息插入 ※ 9 退出本系統(tǒng)\n。 cout\n * * * 你 有 以 下 權(quán) 限 * * *\n\n。 while(!kbhit())。 cout ※ 董勤凱 史彥花 石云龍 ※\n。 cout\n☆ ☆。 } }}void main_second_serve_display() //服務(wù)人員系統(tǒng)界面顯示函數(shù){ system(cls)。 cout\n\n\n\n\n\n\n\n\n\n\n\n\n\n 按回車鍵退出程序...。i3) //只有3次機(jī)會(huì) { cout 你的輸入有誤,請(qǐng)重新輸入: 。 //調(diào)用 退出系統(tǒng)函數(shù) if(x==4) close_puter()。B: cinx。 main_guest_choose()。 cout ****************************************************************\n。getchar()。 cout 中國(guó) cout ◆ 綺 涵 渡 假 灣 ◆\n\n。 cout\n ☆☆ 歡 迎 進(jìn) 入 旅 店 服 務(wù) 系 統(tǒng) ☆☆。 exit(0)。 cout\n\n 你的輸入次數(shù)已經(jīng)超過(guò)限制,你沒(méi)有權(quán)力訪問(wèn)本系統(tǒng)!。i3) //只有3次機(jī)會(huì) { cout 你的輸入有誤,請(qǐng)重新輸入: 。 //調(diào)用 密碼函數(shù)(選擇為服務(wù)人員身份) if(figure==0) close_puter()。 int i=0。 system(cls)。 open_guest()。 cout ※ 董勤凱 史彥花 石云龍 ※\n。 cout\n ☆ ☆。//調(diào)用 主界面顯示函數(shù)}void main_first_display() // 主界面顯示函數(shù){ system(cls)。hotel_guest *p。真的希望還能有這樣的機(jī)會(huì)來(lái)好好的學(xué)習(xí)、鍛煉自己!源代碼(1)旅店管理系統(tǒng)主函數(shù)顯示界面include int total。讓我們?cè)谧稣n程設(shè)計(jì)時(shí)對(duì)整體的把握得以提高。只好用if 選擇語(yǔ)句實(shí)現(xiàn)功能。 }}統(tǒng)計(jì)界面(3)調(diào)試及問(wèn)題解決問(wèn)題: 選擇功能序號(hào)時(shí)若在源代碼中用的是int類型的變量,若操作人員不小心錯(cuò)按了,比按了char類型的變量a等,系統(tǒng)會(huì)出現(xiàn)死循環(huán)現(xiàn)象。//再保存 go_on()。 string AA=0。 D=test_municate()。 函數(shù)調(diào)用(是否繼續(xù)執(zhí)行)。 輸入要修改的學(xué)生的姓名(xname) while(Mname!=xname) { M=Mnext。void info_modify() //信息修改函數(shù){ municate *M,*ass。 while(p!=NULL) { if(pname!=wname) //如果輸入的名字和要查詢的名字不相同 { p=pnext。例子:void name_demand() //按學(xué)生姓名查詢函數(shù){ string wname=0。解決
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1