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

正文內(nèi)容

c課程設(shè)計(jì)酒店管理系統(tǒng)設(shè)計(jì)方案-資料下載頁(yè)

2025-05-03 02:41本頁(yè)面
  

【正文】 break。 } p=pnext。 } if(flag==false) cout對(duì)不起,沒(méi)有該類型的客房!\n。 //如果滿了 else //如果找到了 { cout\n找到了,該客房信息是:\n。 cout\n\n客房編號(hào):(pdata).ID\t客房類型:(pdata).Type\n\t\t定房日期:(pdata).Book\n\t\t價(jià)格:(pdata).Price。 cout\n\t\t客房的主要內(nèi)容:(pdata).Function\n\t\t入住有效期:(pdata).StayTime。 } coutendl。 system(pause)。 system(cls)。 return。}void FindtheremainGuestroomByPrice(tListcGuestroom *tListGue)//根據(jù)價(jià)格查找客房{ char price[BUFSIZE]。 cout\n請(qǐng)輸入你要查找的剩余客房的價(jià)格:。 cinprice。 //讀取價(jià)格 bool flag=false。 cNodecGuestroom *p。 p=tListGueheadnext。 while(p) { if(strcmp(p,price)==0 amp。amp。 p) { flag=true。 cout\n\n客房編號(hào):(pdata).ID\t客房類型:(pdata).Type\n\t\t定房日期:(pdata).Book\n\t\t價(jià)格:(pdata).Price。 cout\n\t\t客房的主要內(nèi)容:(pdata).Function\n\t\t入住有效期:(pdata).StayTime。 } p=pnext。 } if(flag==false) cout對(duì)不起,沒(méi)有你所要求價(jià)格的客房!\n。 //如果找不到 coutendl。 system(pause)。 system(cls)。 return。}void FindtheremainGuestroom(tListcGuestroom *tListGue)//查找客房{ system(cls)。 while(1) { cout\n\n\n\n。 cout 1:按客房編號(hào)查詢\n\n。 cout 2:按客房類型查詢\n\n。 cout 3:按價(jià)格查詢\n\n。 cout 4:退出查詢\n\n。 cout你選擇:。 int choose=0。 cinchoose。 switch(choose) //根據(jù)用戶選擇 { case 1:FindtheremainGuestroomById(tListGue)。 //按客房編號(hào)查詢 break。 case 2:FindtheremainGuestroomByType(tListGue)。 //按客房類型查詢 break。 case 3:FindtheremainGuestroomByPrice(tListGue)。 //按價(jià)格查詢 break。 case 4: system(cls)。 return。 //退出查詢 default:break。 } } return。}void RanktheremainGuestroom(tListcGuestroom *tListGue) //排序剩余客房{cNodecGuestroom *p,*q。 cGuestroom remainGuestroom。 for (p=tListGueheadnext。 p!= NULL。 p=pnext) { for (q=p。 q!= NULL。 q=qnext) { if (p q) { = p。 strcpy(, p)。 //復(fù)制 strcpy(, p)。 strcpy(, p)。 strcpy(, p)。 strcpy(, p)。 = p。 p = q。 strcpy(p, q)。 strcpy(p, q)。 strcpy(p, q)。 strcpy(p, q)。 p = q。 q = 。 strcpy(q, )。 strcpy(q, )。 strcpy(q, )。 strcpy(q, )。 q = 。 } } }}void OutputtheremainGuestroom(tListcGuestroom *tListGue) //輸出剩余房間函數(shù){ cNodecGuestroom *p。 p=tListGueheadnext。 while(p) { if(p) { cout\n\n客房編號(hào):(pdata).ID\t客房類型:(pdata).Type\n\t\t提前定房日期:(pdata).Book\n\t\t價(jià)格:(pdata).Price。 cout\n\t\t主要內(nèi)容:(pdata).Function\n\t\t入住有效期:(pdata).StayTime。 } p=pnext。 } coutendl。 system(pause)。 //停止 system(cls)。 //清屏 return。}int main(){ tListcGuestroom tListGue。 ()。 //創(chuàng)建鏈表 ReadData(amp。tListGue)。 while(1) { cout\n\n 客房管理系統(tǒng) \n\n。 cout \n\n。 cout \n\n。 cout 2:客房信息保存\n\n。 cout \n\n。 cout \n\n。 cout \n\n。 cout \n\n。 cout \n\n。 cout 出 系 統(tǒng) \n\n。 cout 請(qǐng)選擇:。 int choose=0。 cinchoose。 switch (choose) //用戶的選擇 { case 1:AddtheGuestroom(amp。tListGue)。 break。 //輸入客房信息 case 2:SaveData(amp。tListGue)。break。 //客房信息信息保存 case 3:ModifytheGuestroom(amp。tListGue)。 break。 //修改客房信息 case 4:DeletetheGuestroom(amp。tListGue)。 break。 //刪除客房信息 case 5:FindtheremainGuestroom(amp。tListGue)。 break。 //查詢剩余客房信息 case 6:RanktheremainGuestroom(amp。tListGue)。 break。 //排序剩余客房信息 case 7:OutputtheremainGuestroom(amp。tListGue)。 break。 //輸出剩余客房信息 case 8:exit(0)。 //退出 default : break。 } } return 0。} 27
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1