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

正文內(nèi)容

酒店住房信息管理系統(tǒng)(編輯修改稿)

2025-05-06 07:47 本頁面
 

【文章內(nèi)容簡介】 _sec)。locate_position(33, 10)。printf(確認(rèn)退出(Y/N)?)。_sleep(1000)。}if (toupper(is_leave) == 39。Y39。){locate_position(30, 13)。printf(謝謝使用,歡迎下次來訪!)。locate_position(0,0)。getch()。exit(0)。}else{system(cls)。menu()。}}/*** price_info** 無參數(shù),顯示房間的價(jià)格*/void price_info(){int position = 1。int weidth = 20。printf(\n----------------房間的收費(fèi)如下---------------)。locate_position(weidth, position = increase_two(position))。printf(1: %20s[單 間]%, Type_to_string((Type)0), price_of_room((Type)0))。locate_position(weidth, position = increase_two(position))。printf(2: %20s[標(biāo) 準(zhǔn) 間]%, Type_to_string((Type)1), price_of_room((Type)1))。locate_position(weidth, position = increase_two(position))。printf(3: %20s[VIP房 間]%, Type_to_string((Type)2), price_of_room((Type)2))。locate_position(weidth, position = increase_two(position))。printf(4: %20s[總 統(tǒng) 套 房]%, Type_to_string((Type)3), price_of_room((Type)3))。locate_position(weidth + 6, position = increase_two(position))。printf(從中午十二點(diǎn)到第二天中午十二點(diǎn)算一天\n)。locate_position(weidth + 12, position = increase_two(position))。printf(不足一天按一天算)。_sleep(3000)。}/*** animation* 展示一個(gè)小動畫* @x 在第幾行展示  * 其中隨著時(shí)間流逝, 不斷的向右移動*/void animation(int x){static int i = 1。locate_position(1, x)。printf( =============================================================================)。locate_position(i % (WIDTH5), x)。printf()。i += 3。if (i WIDTH 5){i = 1。}}/*** 和上面的函數(shù)相似,這次是向左*/void animal(int x){static int i = 74。locate_position(1, x)。printf( )。locate_position(i % (WIDTH5), x)。printf()。i = 5。if (i 0){i = WIDTH 6。}}/*** menu* 菜單項(xiàng)* * 沒有參數(shù),顯示菜單界面* 根據(jù)不同的選項(xiàng),進(jìn)入不同的子模塊*/void menu(){int color。int i = 0, j。char str[15]。char str_color[2]。char ch = 39。m39。time_t tTime。tm *tBlock。room_t hotal[TYPE_NUM][ROOM_MAX]。node_t *head = list_init()。memset(amp。hotal, 0, sizeof(room_t) * TYPE_NUM * ROOM_MAX)。/* 初始化房間信息 */for (i = 0。 i TYPE_NUM。 i++){for (j = 0。 j ROOM_MAX。 j++){hotal[i][j].room_number = (i + 1) * 100 + j。hotal[i][j].room_kind = (Type)i。hotal[i][j].room_price = price_of_room((Type)i)。if (i*i + j == 12){hotal[i][j].room_is_used = True。list_add(head, amp。hotal[i][j])。}}}srand((unsigned)time(NULL))。system(title 酒店房間登記與計(jì)費(fèi)管理系統(tǒng))。while (ch != 39。039。){ch = kbhit() ? getch() : 39。m39。switch(ch){case 39。139。: system(cls)。room_add(head, hotal)。system(pause)。system(cls)。break。case 39。239。:system(cls)。printf(\n----------------所有用戶信息如下---------------\n\n)。printf(房間號 房間類型  用戶名  用戶證件  單價(jià)\n)。printf(||||\n)。list_for_each(head, mprint, NULL)。system(pause)。system(cls)。break。case 39。339。:system(cls)。price_info()。system(pause)。system(cls)。break。case 39。439。:system(cls)。room_del(head)。system(pause)。system(cls)。break。case 39。539。:system(cls)。printf((1)以下是主頁:請按提示輸入所需的服務(wù)。(2)輸入提示數(shù)值:1,2,3,4,5,6,0!
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1