java酒店管理毕业设计源代码(2)

2019-04-08 19:17

悠悠同学网www.uuclass.com

clrscr(); cout<<\made by :\ char jklf[]=\ cout<<\ for(int u=0;u<7;u++) { cout<

{ char ch; while (1) { clrscr(); textmode(C40); clrscr(); box(); gotoxy(12,5); cout<<\Keeping \ gotoxy(12,6); cout<<\ gotoxy(12,10); cout<<\1 : Store Customer Order\ gotoxy(12,11); cout<<\2 : Display customer Order\ gotoxy(12,12); cout<<\3 : Delete Order\ gotoxy(12,13); cout<<\4 : Modify Order\ gotoxy(12,14); cout<<\0 : Quit\ gotoxy(11,18); cout<<\Enter your choice\ ch = getch(); textmode(C80); clrscr(); if ( ch == '1') { hkeep d; d.add(); } else if ( ch == '2') { hkeep d; d.display_list(); } else if ( ch == '3') { hkeep d; d.deletion(); } 悠悠同学网www.uuclass.com

else if( ch == '4') { hkeep d; d.modify(); } else if(ch == '0') break; } } //***************************************************************** // CLASS NAME :HKEEP // FUNCTION NAME : HKEEP (CONSTRUCTOR) // DETAILS : IT IS A CONSTRUCTOR FUNCTION, GIVING // DEFAULT VALUES //***************************************************************** hkeep :: hkeep (void) { code = 0; name[0] = '\\0'; roomno[0] = '\\0'; order[0] = '\\0'; } //***************************************************************** // CLASS NAME : HKEEP // FUNCTION NAME : ~HKEEP (DESTRUCTOR) // DETAILS : IT IS A DESTRUCTOR FUNCTION //***************************************************************** hkeep :: ~hkeep (void) { } //***************************************************************** // CLASS NAME : HKEEP // FUNCTION NAME : DISPLAY_LIST // DETAILS : IT DISPLAYS LIST OF THE PERSON'S // RECORDS //***************************************************************** void hkeep:: display_list(void) 悠悠同学网www.uuclass.com

{ clrscr(); menu m; char *t_name, *t1_name = NULL; gotoxy(3,5); cout<<\Enter the character(s) for selective list \ gotoxy(3,6); cout<<\or press for whole list or '0' to exit : \ gets(t_name); if (t_name[0] == '0') return; int len = strlen(t_name); clrscr(); fstream file; file.open(\ios :: binary | ios :: in); file.seekg(0, ios :: beg); int row = 4; int found = 0; int pageno = 1; int flag = 1; char ch; gotoxy(1,2); cout<<\Order Serial No.\ m.line_hor(1,79,3,196); m.line_hor(1,79,24,196); while (file.read((char *)this , sizeof (hkeep))) { flag = 1; for(int i=0;i to exit or any key to continue... \ ch = getch(); if(ch == 27) return ; clrscr(); gotoxy(1,2); cout<<\Order Serial No.\ m.line_hor(1,79,3,196); m.line_hor(1,79,24,196); } else row = row + 2; } } if ( !found ) { sound(500); delay(100); nosound(); gotoxy(1,5); cout<<\not found\; } if (flag) { gotoxy(66,1); cout<<\age No. : \ gotoxy(1,25); cout<<\ress any key to continue...\ getch(); } file.close(); } //***************************************************************** // CLASS NAME : HKEEP


java酒店管理毕业设计源代码(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:厦大新闻传播学院考研8本书的复习策略

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: