-
Notifications
You must be signed in to change notification settings - Fork 1
/
Guest.h
87 lines (62 loc) · 1.63 KB
/
Guest.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#include <bits/stdc++.h>
using namespace std;
#ifndef GUEST_H
#define GUEST_H
class Guest
{
public:
Guest();
Guest(int a,int b,int c);
int no;
static int id1;
char name[30];
int id;
int difference;
//string naaaa;
char ph_no[10];
char phhhh[10];
char city[30];
int room_no;
int checkIn[3];
// int *checkIn[3];
int checkOut[3];
//int roomType;
int roomType;
int roomRate;
int price;
char type1[25];
void inputData();
bool check(char *);
void setCheckInDate(int ,int ,int);
int* getCheckInDate();
void setCheckOutDate(int,int,int);
int* getCheckOutDate();
void setName(char* nm);
char* getName();
// void setN(string a);
//string getN();
void setPhno(char* ph);
char* getPhno();
void setNewPhone(char *ph);
void setCity(char* ct);
char* getCity();
void setPrice(int pr);
void setRoomNo(int a);
int getRoomNo();
void getType(int n);
void orderFood();
void payBills();
string printBill();
string submitFeedback();
void summary();
void putdata();
//void writeIntoFile(int a);
void writeIntoFile();
void searchRecord();
void getCompleteRecord();
void deleteRecord();
void setCD(int *);
protected:
private:
};//int Guest::id1=1;
#endif // GUEST_H