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

正文內(nèi)容

賓館房間管理系統(tǒng)課程設(shè)計(jì)報(bào)告(c語(yǔ)言版-全文預(yù)覽

  

【正文】 課程設(shè)計(jì)紙 共 21 頁(yè) 第 14 頁(yè) ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ rrayPosition[i]].ccard)。 while(statue){ clrscr()。 point++。 scanf(%s,lslender)。 int arrayPosition[M]。getch()。 printf(please input lender39。}else{ t[arrayPosition[currentpoint]].isLent=1。c=0。currentpoint0) currentpoint。 if (getkey==39。s39。getkey!=39。getkey!=39。getkey!=39。} while(getkey!=39。} else { printf( %10s\n,t[arrayPosition[i]].roomID)。ipoint。 char getkey。i++){ if(strcmp(lsroomID,t[i].roomID)==0){ arrayPosition[point]=i。 printf(please input the room ID you want to search or edit\n)。 int i。 char s[80]。 /*提示信息 */ getch()。in。 printf(*********Room statue***********************\n)。 printf(There is no record)。currentpoint4){ currentpoint++。 } if (presskey==39。w39。amp。amp。 printf(***************end********************\n)。 if (currentpoint==3) printf(=load data from file\n)。 if (currentpoint==1) printf(=edit room statue\n)。 printf( Main Menu designed by Han Lu\n)。 /*如返回值為 10 則程序結(jié)束 */ } } } /*菜單函數(shù),函數(shù)返回值為整數(shù),代表所選的菜單項(xiàng) */ menu_select() { static int currentpoint=0。break。break。 /*清屏 */ length=10。 /*定義結(jié)構(gòu)體數(shù)組 */ int length。 /*從文件中讀記錄 */ int menu_select()。 void list(ADDRESS t[],int n)。 char lender[10]。 八 附錄:程序源代碼 include /*I/O 函數(shù) */ include /*標(biāo)準(zhǔn)庫(kù)函數(shù) */ include /*字符串函數(shù) */ include /*字符操作函數(shù) */ define M 50 /*定義常數(shù)表示記錄數(shù) */ typedef struct /*定義數(shù)據(jù)結(jié)構(gòu) */ 長(zhǎng) 春 大 學(xué) 課程設(shè)計(jì)紙 共 21 頁(yè) 第 7 頁(yè) ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ { char roomID[10]。 七 設(shè)計(jì)體會(huì)與總結(jié) 通過本次上課程設(shè)計(jì),我對(duì) C 語(yǔ)言這門課有了更深一層的認(rèn)識(shí),也使所學(xué)的知識(shí)得到了一次實(shí)際的操作、運(yùn)用。 break。break。 for(。} length=0。}} else {printf(If you fet the password,to contact the admin,please)。 scanf(%s,password)。 /*不能打開 */ getch()。 長(zhǎng) 春 大 學(xué) 課程設(shè)計(jì)紙 共 21 頁(yè) 第 5 頁(yè) ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ } fclose(fp)。 } : for(i=0。 } for(i=0。){statue=0。amp。currentpointpoint1) currentpoint++。 if (getkey==39。amp。amp。amp。 } : do {getkey=getch()。 五 特色算法的描述與實(shí)現(xiàn) : for (i=0。 5)退出 。其中,查看房間基本情況功能包括房間號(hào)碼、是否入住、租住人、租住人證件號(hào)碼等;編輯房間入住或退房情況包括查詢房間號(hào)碼進(jìn)入、查詢租住人進(jìn)入、查詢租住人證件號(hào)碼進(jìn)入和退出等。 程序開始運(yùn)行,屏幕首先出現(xiàn)“ please input the logon password:”,這時(shí)操作者就要向計(jì)算機(jī)輸入密碼: admin,如果第一次輸入錯(cuò)了,沒關(guān)系,一共有五次輸入機(jī)會(huì)。 三 程序功能介紹 Turbo c 中運(yùn)行的。 進(jìn)入主頁(yè)后,屏幕會(huì)有如下顯示: 長(zhǎng) 春 大 學(xué) 課程設(shè)計(jì)紙 共 21 頁(yè) 第 3 頁(yè) ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ *********************************************** Main menu designed by Han Lu *********************************************** =view room statue edit room statue save data to file load data from file exit the application *******************end************************** 由此可見,該程序的基本功能是查看房間基本情況、編輯房間入住或退房情況、把信息保存在文件中、讀取文件、退出訪問等功能。 4)讀取文件 。 根據(jù)用戶的需求,把程序按功能分成幾個(gè)模塊,用所學(xué)函數(shù)相互調(diào)用把主函長(zhǎng) 春 大 學(xué) 課程設(shè)計(jì)紙 共 21 頁(yè) 第 4 頁(yè) ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 裝 ┊ ┊ ┊ ┊ ┊ 訂 ┊ ┊ ┊ ┊ ┊ 線 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 數(shù)和其他具有不同功能的函數(shù)結(jié)合到一起,實(shí)現(xiàn)那些功能。 point++。amp。amp。amp。) 。amp。amp。039。 getch()。t[i],sizeof(ADDRESS),1,fp)。t[i],sizeof(ADDRESS),1,fp)。 } 5. 判斷是否能打開文件: if((fp=fopen(,rb))==NULL)/*打開文件 */ { printf(can not open file\n)。 else printf(you just inputted wrong password\nplease reinput(%d/5):\n,logonTime)。return 0。} 7. 主函數(shù)的核心部分: while(!logon()){。 init(adr)。 /*顯示全部記錄 */ case 1:search(adr,len
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1