You are on page 1of 2

#include<iostream>

#include<fstream>
#include<windows.h>
#include<string>
using namespace std;
struct Name
// structure for naming in program
{
char first[20];
//character arrays for the names used in program..
char last[20];
char date[20];
int room;
char cnic[20], mob[20];
};
//\\Functions prototyping//\/\\
void vacant_rooms();
void customer_reserve();
void login();
void check();
void user_total();
heckout
void loading();
void help();
te the application
void about();
void del_resdata();

//for vacant rooms|


//for reservation |
//for login
|
//for the guest history
//for user total on the time c
// for loading bar
//for helping the user to opera
//for about the program
// in order delete

//------------------------.>//
int main()
{
system("color 34");
int a;
int choice;
char again;
char x[20];
cout << endl;
cout << "
*
*
"
<< endl;
cout << "
**
* " <
< endl;
cout << " *** Welcome to the Hotel Reservation Application ****" << en
dl;
cout << "
**
** "
<< endl;
cout << "
*
* " <
< endl;
cout << endl;
Beep(2020, 1100);
// causes the computer to beep
char l = 219;
//for loading bar
cout << "Please wait while system is analyzing the data\n";
for (int i = 0; i<10; i++)
{
Beep(2000, 500);

cout << l;
}
cout << endl;
cout << "______________________________" << endl;
cout << "Please Enter Username and Password to proceed: " << endl;
cout << endl;
login();
//function calling of login
cout << "______________________________" << endl;
cout << endl;
do
{
system("pause");
}

You might also like