亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? hotel.h.bak

?? 命令行模式下的簡單賓館管理系統(tǒng)..各種基本功能齊全..屬于新人練習作品..hotel manager..
?? BAK
字號:
/*
 * File: hotel.h
 * ----------------
 * This file declares the two main variables:
 * accountManage & roomManage,
 * and a lot of functions to run the management 
 * of the hotel.
 */

#ifndef HOTEL_H
#define HOTEL_H

#include "base.h"
#include "roommanage.h"
#include "accountmanage.h"

/* Constants */
#define ACCOUNTFILE "data\\account.dat"
#define ROOMFILE "data\\room.dat"

/* Package variables */
extern AccountManage accountManage;
extern RoomManage roomManage;

/* Function prototypes */

/*
 * Function: InitAccount()
 * Usage: InitAccount(fileName,accountManage);
 * ----------------------------------------------
 * This function reads the accounts info from the
 * file named fileName,and initializes the accountManage
 * with the accounts info.
 */
void InitAccount( const char *, AccountManage * );


/*
 * Function: InitRoom()
 * Usage: InitRoom(fileName,roomManage);
 * -------------------------------------------
 * This function reads the rooms info from the
 * file named fileName,and initializes the roomManage
 * with the rooms info.
 */
void InitRoom( const char *, RoomManage * );


/*
 * Function: OutAccount()
 * Usage: OutAccount(fileName,accountManage);
 * -------------------------------------------
 * This function write the accounts info in the
 * accountManage to the file named fileName.
 */
void OutAccount( const char *, AccountManage * );


/*
 * Function: OutRoom()
 * Usage: OutRoom(fileName,roomManage);
 * ----------------------------------------
 * This function write the rooms info in the 
 * roomManage to the file named fileName.
 */
void OutRoom( const char *, RoomManage * );


/*
 * Function: SetAccountRoomList()
 * Usage: SetAccountRoomList(accountManage,roomManage);
 * ----------------------------------------------------
 * This function ..en..e..a..o.. ok..
 * It's used to patch up the bug .. in design.
 * In fact,it build the roomList in each account in
 * the accountManage by using the roomNumList in each
 * account.
 */
void SetAccountRoomList( AccountManage *, RoomManage * );


/*
 * Function: CheckIn()
 * Usage: CheckIn(accountManage,roomManage);
 * ------------------------------------------
 * This function provides an interface to Check In.
 */
void CheckIn( AccountManage *, RoomManage * );


/*
 * Function: CheckOut()
 * Usage: CheckOut(accountManage,roomManage);
 * ------------------------------------------
 * This function provides an interface to Check Out.
 */
void CheckOut( AccountManage *, RoomManage * );


/*
 * Function: FindAccount()
 * Usage: *Account=*FindAccount(accountManage);
 * ------------------------------------------
 * This function provides an interface to find
 * an account by entering its ID and name.
 */
Account *FindAccount( AccountManage * );


/*
 * Function: AddFee()
 * Usage: AddFee(accountManage);
 * ------------------------------------------
 * This function provides an interface to Add Fee
 * to one account.
 */
void AddFee( AccountManage * );


/*
 * Function: PrintStateRoom()
 * Usage: PrintStateRoom(roomManage,roomState);
 * ------------------------------------------
 * This function prints all the rooms info 
 * in the one kind of states.
 */
void PrintStateRoom( RoomManage *, RoomState );


/*
 * Function: PrintRoomInfo()
 * Usage: PrintRoomInfo(roomManage);
 * ------------------------------------------
 * This function provides an interface to find
 * and print the room info in detail.
 */
void PrintRoomInfo( RoomManage * );


/*
 * Function: PrintAllRoom()
 * Usage: PrintAllRoom(roomManage);
 * ------------------------------------------
 * This function provides an interface to 
 * print all the rooms info briefly in a list.
 */
void PrintAllRoom( RoomManage * );


/*
 * Function: PrintAccountInfo()
 * Usage: PrintAccountInfo(accountManage);
 * ------------------------------------------
 * This function provides an interface to find
 * the account and print its info in detail.
 */
void PrintAccountInfo( AccountManage * );


/*
 * Function: PrintGuestInHotel()
 * Usage: PrintGuestInHotel(accountManage);
 * ------------------------------------------
 * This function provides an interface to print
 * all the accounts info in Hotel.
 */
void PrintGuestInHotel( AccountManage * );


/*
 * Function: PrintAllAccount()
 * Usage: PrintAllAccount(accountManage);
 * ------------------------------------------
 * This function provides an interface to print
 * all the accounts info briefly in a list.
 */
void PrintAllAccount( AccountManage * );


/*
 * Function: PrintNotEnoughAccount()
 * Usage: PrintNotEnoughAccount(accountManage);
 * ------------------------------------------
 * This function provides an interface to check
 * all accounts curExpences and list all the 
 * accounts which don't have enough...
 */
void PrintNotEnoughAccount( AccountManage * );


/*
 * Function: ChangeRoomState()
 * Usage: ChangeRoomState(roomManage);
 * ------------------------------------------
 * This function provides an interface to find 
 * a room and change its state.
 */
void ChangeRoomState( RoomManage * );


/*
 * Function: AddAccount()
 * Usage: AddAccount(accountManage);
 * ------------------------------------------
 * This function provides an interface to allow
 * user to create a new account,and add it to 
 * the allAccountList.
 */
void AddAccount( AccountManage * );


/*
 * Function: AddRoom()
 * Usage: AddRoom(roomManage);
 * ------------------------------------------
 * This function provides an interface to allow
 * user to create a new room,and add it to the
 * allRoomList.
 */
void AddRoom( RoomManage * );


/*
 * Function: DeleteAccount()
 * Usage: DeleteAccount(accountManage);
 * ------------------------------------------
 * This function provides an interface to find
 * the account and delete it.
 */
void DeleteAccount( AccountManage * );


/*
 * Function: DeleteRoom()
 * Usage: DeleteRoom(roomManage);
 * ------------------------------------------
 * This function provides an interface to find
 * a room and delete it.
 */
void DeleteRoom( RoomManage * );


/*
 * Function: ClearAccountManageInfo()
 * Usage: ClearAccountManageInfo(accountManage);
 * ------------------------------------------
 * This function empties the allAccountList.
 */
void ClearAccountManageInfo( AccountManage * );
void ClearRoomManageInfo( RoomManage * );


#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91在线免费播放| 国产精品综合av一区二区国产馆| 日韩欧美一区二区视频| 国产经典欧美精品| 日韩成人av影视| 亚洲欧美一区二区三区久本道91| 日韩精品一区在线| 欧美亚洲一区二区在线| 成人性生交大片免费看中文 | 亚洲女人****多毛耸耸8| 日韩精品一区二区三区在线| 99视频一区二区三区| 精品在线你懂的| 丝袜诱惑制服诱惑色一区在线观看| 国产精品色一区二区三区| 日韩欧美国产一区二区三区| 91国产精品成人| 99精品视频中文字幕| 国产精品一区二区x88av| 五月天精品一区二区三区| 中文字幕一区免费在线观看| 久久精品人人做| 欧美第一区第二区| 欧美精品三级日韩久久| 在线免费观看一区| 91污片在线观看| 成人午夜精品一区二区三区| 韩国中文字幕2020精品| 秋霞成人午夜伦在线观看| 亚洲国产裸拍裸体视频在线观看乱了| 亚洲欧洲三级电影| 中文字幕一区二区三区四区| 国产精品入口麻豆原神| 欧美国产日韩精品免费观看| 久久久久97国产精华液好用吗| 精品第一国产综合精品aⅴ| 欧美成人激情免费网| 欧美一二三四在线| 欧美一级搡bbbb搡bbbb| 日韩一级免费一区| 日韩欧美一区二区免费| 欧美成人精品1314www| 精品毛片乱码1区2区3区| 日韩欧美亚洲国产另类| 日韩欧美久久一区| www一区二区| 亚洲国产精品高清| 国产精品色在线观看| 中文字幕永久在线不卡| 一区二区三区高清不卡| 亚洲综合成人网| 丝袜亚洲另类欧美| 久久精品国产久精国产| 国产一区 二区| 国产成人av一区| 99久久久精品免费观看国产蜜| 日本韩国欧美在线| 3atv一区二区三区| 欧美mv和日韩mv的网站| 国产情人综合久久777777| 亚洲欧洲精品一区二区三区| 一区二区三区色| 婷婷激情综合网| 久久99热国产| jlzzjlzz亚洲日本少妇| 在线免费观看成人短视频| 日韩一区二区三区四区| 久久精子c满五个校花| 亚洲日本在线看| 蜜臀av性久久久久蜜臀av麻豆| 国产在线麻豆精品观看| 99v久久综合狠狠综合久久| 欧美视频在线不卡| 精品国产髙清在线看国产毛片| 国产精品麻豆视频| 日韩在线卡一卡二| 国产成人精品亚洲日本在线桃色| av不卡一区二区三区| 欧美人伦禁忌dvd放荡欲情| 久久精品视频一区二区| 有码一区二区三区| 国产精品一区二区无线| 欧美视频一区二区三区在线观看| 精品国产免费人成在线观看| 日韩美女精品在线| 捆绑调教一区二区三区| 99久久综合色| 欧美成人精品高清在线播放| 亚洲色大成网站www久久九九| 免费人成在线不卡| 91亚洲男人天堂| 久久只精品国产| 亚洲成人黄色影院| 成人毛片在线观看| 日韩精品中文字幕一区| 一级做a爱片久久| 成人性生交大片免费看在线播放 | 国内成人精品2018免费看| 99精品国产99久久久久久白柏| 欧美一区二区三区免费观看视频| 国产精品成人一区二区艾草| 蜜桃一区二区三区在线| 欧美色爱综合网| 中文字幕一区二区三区四区| 加勒比av一区二区| 91精品啪在线观看国产60岁| 亚洲免费在线观看视频| 粉嫩aⅴ一区二区三区四区五区| 日韩西西人体444www| 亚洲国产美国国产综合一区二区| www.色精品| 久久精品人人做| 精品午夜一区二区三区在线观看| 欧美日韩二区三区| 亚洲精品欧美专区| 成人免费视频视频在线观看免费| 精品国产乱码久久久久久图片 | 欧美伦理视频网站| 亚洲男人天堂av网| 不卡电影免费在线播放一区| 精品蜜桃在线看| 裸体在线国模精品偷拍| 制服丝袜中文字幕亚洲| 亚洲一区二区三区在线| 欧美亚洲动漫制服丝袜| 亚洲美女淫视频| 91福利视频久久久久| 亚洲黄网站在线观看| 日本高清成人免费播放| 亚洲欧洲另类国产综合| av动漫一区二区| 亚洲欧美日韩电影| 91欧美激情一区二区三区成人| 中文字幕一区二区三区在线观看| 成人中文字幕合集| 国产精品欧美经典| www.欧美日韩| 有坂深雪av一区二区精品| 欧美亚洲综合一区| 午夜精品久久久久久| 欧美精品第1页| 老司机免费视频一区二区三区| 日韩欧美国产综合一区| 国产一区日韩二区欧美三区| 久久久精品欧美丰满| 高清shemale亚洲人妖| 国产精品丝袜黑色高跟| 色综合天天综合| 亚洲线精品一区二区三区| 欧美日韩电影在线播放| 美女视频黄 久久| 精品国产伦理网| 不卡的av电影| 亚洲国产精品一区二区久久| 欧美精品 日韩| 国产一区在线观看视频| 国产精品久久久久一区| 在线欧美日韩精品| 青娱乐精品视频| 国产拍揄自揄精品视频麻豆| 一本大道久久a久久综合| 日韩主播视频在线| 久久奇米777| av一区二区三区| 亚洲成a人在线观看| 精品播放一区二区| 色悠悠亚洲一区二区| 男人操女人的视频在线观看欧美| 久久久精品日韩欧美| 91蜜桃传媒精品久久久一区二区| 五月婷婷久久综合| 精品盗摄一区二区三区| 97精品久久久久中文字幕 | 国产精品一级片| 一区二区高清在线| 亚洲精品一区二区三区福利| 99久久er热在这里只有精品15| 亚洲成人一二三| 欧美激情一区二区三区四区| 日本韩国精品在线| 国产精品资源在线观看| 亚洲成人av一区二区| 中文在线免费一区三区高中清不卡| 欧美亚洲一区二区在线观看| 国产一区二区女| 亚洲国产精品久久久久婷婷884 | 亚洲免费电影在线| 精品国产a毛片| 欧美日韩的一区二区| 成人少妇影院yyyy| 琪琪一区二区三区| 亚洲男女一区二区三区| 日韩精品最新网址| 欧洲av在线精品| 成人黄色a**站在线观看| 久久国产精品72免费观看| 一区二区高清免费观看影视大全| 国产人成一区二区三区影院| 91精品国产高清一区二区三区 | 欧美乱妇一区二区三区不卡视频|