悠悠同学网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