SlideShare a Scribd company logo
APIIT SD INDIA
CE00314-2 FPCOP
FURTHER PROGRAMMING CONCEPTS IN C++
HAND OUT DATE: 17TH
AUGUST 2012
HAND IN DATE: 8TH
NOVEMBER 2012
Submitted by:
Prince Kumar
Intake no: PT1082219
Certificate
This is to certify that the project Hotel Management System of the
module Further Programming Concepts have been successfully
completed by Prince Kumar Intake No.PT1082219 of level 2.The
project has been covered all the required areas in an appropriate
manner.
INDIVIDUAL ASSIGNMENT
PANIPAT
CE00314-2 FPCOP
FURTHER PROGRAMMING CONCEPTS IN C++
PT1082219 (COM)
HAND OUT DATE: 17TH
AUGUST 2012
HAND IN DATE: 8TH
NOVEMBER 2012
WEIGHTAGE: 50%
Acknowledgment
“Gratitude is the fairest blossom which springs from the soul”
Feeling gratitude and not expressing it is like wrapping a present and not giving it. We take
this opportunity to convey our heartfelt gratitude to each and every one who has supported us
in every way or the other during the course of our project.
From the very core of our heart, we would like to express our sincere gratitude to Miss. Dipti
for his supervisory guidance. We are always indebted to him for his kind support and
constant encouragement and his enthusiasm to complete our project milestones.
It requires lots of efforts in terms of cooperation and support to fulfill various tasks involved
during the project. We are always grateful to our peers and friends who have always
encouraged us and guided us whenever we needed assistance.
We also take this opportunity to express our appreciation to all the participants involved
during our preliminary research for their invaluable time to answer our queries and
suggestions for the application to be developed.
Things always remain hidden in the shadow of the unsung heroes; still we would to thank all
the people passively involved in the assignment, people who encouraged us day in and day
out to make it a success.
At last but above all, we thank the Almighty for his blessings.
Prince Kumar
PT1082219
Table of Contents
Certificate................................................................................................................................................2
INTRODUCTION ..................................................................................................................................6
1.1 PURPOSE OF THE SYSTEM.......................................................................................................6
1.2 SCOPE....................................................................................................................................6
1.3 HARDWARE AND SOFTWARE REQUIREMENTS.............................................................................7
2.0 Design Description ......................................................................................................................7
2.1 Interface Design............................................................................................................................7
2.2 Class Diagram..............................................................................................................................14
2.3 ERD..................................................................................................................................................15
2.4 DFD..............................................................................................................................................16
2.4.1 Context Diagram ..................................................................................................................16
2.4.2 DFD-CHECK_IN .....................................................................................................................17
2.4.3. DFD-CHECK_OUT.................................................................................................................18
3.0 Description & Justification of OO concepts ..............................................................................18
3.1 Object....................................................................................................................................18
3.2 Polymorphism.......................................................................................................................19
3.3 Class......................................................................................................................................19
3.3 Encapsulation........................................................................................................................20
4.0 Description of Validation................................................................................................................21
5.0 Implementation ........................................................................................................................23
6. TESTING.............................................................................................................................................30
7. CONCLUSION.................................................................................................................................32
8. REFERENCES..................................................................................................................................32
INTRODUCTION
A typical luxury Hotel requires a management system to control its various
operations such as maintaining account of all the people in its domain of
services, attending to various needs of customers and also achieving increased
efficiency in the overall working of the Hotel itself.
1.1PURPOSE OF THE SYSTEM
The Hotel Management System aims to make simpler a staff’s interaction
with the various modules of the Hotel and ease the process of acquiring
information and providing services. The system can be accessed by the
admin and customers but the highest priority given to admin that are
allocated a login id and password. It will also allow cutting the operational
costs of the hotel.
1.2 SCOPE
In this system we will make extensive use of files system in C++.
We will have a login id system initially. In this system we will be having
separate functions for
Getting the information
Getting customer information who are lodged in
Allocating a room to the customer
Checking the availability
Displaying the features of the rooms.
Preparing a billing function for the customer according to his
room no.
In the software developed separate functions will be there for each of the
above points so that there is ample scope for adding more features in the
near future.
1.3 HARDWARE AND SOFTWARE REQUIREMENTS
The platform used is C++. Hence we decided to use Microsoft Visual
Studio 2010/2008 edition (Professional Edition).
For optional coding and easy debugging we used Microsoft Visual Studio 2008
edition and made explicit .cpp files.
Henceforth for optimal usage of such software a windows based operating
system preferably Windows vista/7/XP must be there. Also on the hardware part
any system having Windows Vista/7/XP installed will suffice.
2.0 Design Description
2.1 Interface Design
Fig: welcome screen
 Welcome Page where user get the info about the application.
Fig : Login Screen
 Login screen for admin and for customer here admin have the highest priority where
admin can add, delete, search, update and many more.
 Customer can view on availability of rooms
Fig : Admin Login
 Admin :- User name : admin
Password: admin
 Login page for admin. it is for security purpose . no one can access admin page . only
admin have the permission to handle records.
Fig : Admin Login
 Admin :- User name : admin
Password: admin
Fig : Admin screen
 Options to handle records.
Fig : Add_customer
 Adding customer details
Name
ID
ID_Proof
Customer_occupation
Customer_checkin
Customer_checkout
Fig : Add_customer1
Fig : Display_Customer
 Displaying the details of the customer
Fig : Customer_bill
Fig : Final_Bill
 Calculating the overall bill by taking Cust_name , no. of stayed , room charges , other
charges
Fig : Update_customer
 Updating the details of the customer by taking user name.
Fig : search_customer
 Customer can be searched by just taking the name of the customer
2.2 Class Diagram
Public
2.3 ERD
User name
Password
ADMIN
Check
Customer
Custm_Id
Custm_name
Custm_age
Custm_Idproof
Custm_occupation
Custm_checkin
Custm_checkout
( 1,n )
(1,1)
2.4 DFD
2.4.1 Context Diagram
HOTEL MANAGEMENT
SYSTEM
ROOM
CUSTOMER
CUSTOMER
CHECK_OUT
2.4.2 DFD-CHECK_IN
2.4.3. DFD-CHECK_OUT
3.0 Description & Justification of OO concepts
3.1 Object
We used to create object to call the function which is related to any particular class we had
objects to call the function in this assignment. here we had created view object of class
customer to call the function welcomecreen() and loginscreen() functions to call then in main
functions
#include"customer.h"
using namespace std;
void main()
{
customer view;
view.welcomescreen();
view.login_screen();
}
3.2 Polymorphism
Complier is able to select the appropriate function for a particular call at the complie time
itself (also called as early binding )
we use polymorphism to access the variables from different class in this project we had use
polymorphism to get access the variables of customer class.
Code:
class Generatebill:public customer
3.3 Class
Bind the data and its associated functions together it allows data to be hidden if necessary
from external use defining a class we are creating a new abstract data type that can be treated
like other built – in data type
Code :
#ifndef H_M
#define H_M
#include<string>
#include<iomanip>
#include<iostream>
#include<fstream>
#include<conio.h>
#include<math.h>
#include<time.h>
using namespace std;
class customer
{
public:
int custm_id;
int custm_age;
int check_inyear;
int check_inmonth;
int check_indate;
char roomtype[20];
char custm_name[30];
int room_charge;
int compare(char[]);
char custm_occupation[20];
void getdata();
void putdata();
long total; //variable for Generate Bill
int food;
long room;
float ser;
int t;
int oc;
int r_day;
public:
void welcomescreen();
void login_screen();
void add_customer();
void delete_customer();
void update_customer();
void search_customer();
void main_screen();
void display_customer();
void checkout_customer();
void room_detail();
void generate_bill();
void room_bill();
};
#endif
3.3 Encapsulation
It is a process of wrapping up to data value and member in a single unit (class).
4.0 Description of Validation
In every project validation is the important parts while the development. In
Hotel Management System we had also provided proper validation to make
system error free. In this system we had provided validation in date month and
year to get proper date from administrator. The codes which we had used to get
proper validation in date system are mentioned below.
code:
cout<<"nEnter customer CheckIn Date : ";
START:
cout<<"n--------------------------------";
cout<<"nYear : ";
cin>>check_inyear;
cout<<"nMonth : ";
cin>>check_inmonth;
cout<<"nDate : ";
cin>>check_indate;
cout<<"nEnter Room Type : ";
cin>>roomtype;
cout<<"nEnter Room Charge : ";
cin>>room_charge;
if((check_inmonth==2) && (check_indate>29))
{
cout<<"wrong input!!!n";
cout<<"nenter the date again....n";
goto START;
}
if((check_inmonth>12)||(check_indate>31))
{
cout<<"wrong input!!!n";
cout<<"nenter the date again....n";
goto START;
}
if((check_inmonth==4||check_inmonth==6||check_inmonth==9||check_inmonth
==11) && (check_indate>30))
{
cout<<"wrong input!!!n";
cout<<"nenter the date again....n";
goto START;
}
if((check_inyear%4)!=0 && (check_inmonth==2) && (check_indate>28))
{
cout<<"wrong input!!!n";
cout<<"nenter the date again....n";
goto START;
}
We had use the validation in the adminstration login while entering the wrong
user name & password it show the popup menu.
cout<<"ttttUser Name = ";
cin>>username;
if(strcmp(username,"admin")==0)
{
string pass ="";
char ch;
cout <<"nttttPassword = ";
ch = _getch();
while(ch != 13)
{
pass.push_back(ch);
cout << '*';
ch = _getch();
}
if(pass == "admin")
{
cout <<"ntt"<< "Access granted";
do
{
}
}
5.0 Implementation
WELCOME SCREEN:
void customer::welcomescreen()
{
system("cls");
cout<< endl << endl << endl<< endl;
cout<<" COMPUTERISED MANAGEMENT SYSTEM
"<<endl;
cout<<" APIIT SD INDIA, PANIPAT "<< endl;
cout<<" INDIVIDUAL ASSINGMENT "<< endl;
cout<<" ON "<< endl;
cout<<" Further Programming Concepts in C++ "<< endl;
cout<<" (CE00314-2) "<<endl;
cout<<"
____________________________________________________ "<< endl;
cout<< endl << endl << endl<< endl;
cout<<" SUBMITTED BY: SUBMITTED TO:
"<<endl;
cout<<" Prince kumar Ms. Deepti Dhingra "<<endl;
cout<<" (PT082219) (LECTURER) "<<endl;
cout<< endl << endl;
cout<<" Press Enter to continue...." << endl << endl << endl <<
endl;
getch();
}
LOGIN SCREEN.
void customer::login_screen()
{
time_t t;
system("cls");
t=time(NULL);
cout<<"n "<<ctime(&t);
customer c;
t -= 24L*60L*60L;
char choice;
cout<< endl << endl << endl<< endl;
cout<<" LOGIN SCREENn";
cout<<"
____________________________________________________ "<< endl;
cout<<" 1.Administrator Loginn";
cout<<" 2.customer Loginn";
cout<<" 3.Exitn";
cout<<"nnn";
cout<<"Enter Choice:: ";
cin>>choice;
switch(choice)
{
case'1':
system("cls");
c.main_screen();
break;
case '2':
search_customer();
break;
case'3':
exit(0);
break;
default:
cout<<"wrong choice entered";
}
}
ADD CUSTOMER
void customer::add_customer()
{
customer c;
ofstream outf;
outf.open("customer.txt",ios::out|ios::app|ios::binary);
c.getdata();
outf.write((char*)&c,sizeof(c));
outf.close();
_getch();
}
SEARCH CUSTOMER
void customer::search_customer()
{
fstream file;
customer c;
int i=1;
char nam[25];
file.open("customer.txt",ios::in);
cout<<"tttt customer Detail n";
cout<<"ttt_________________________________ nn";
cout<<"ttttn Enter name to Search: ";
cin>>nam;
file.seekg(0,ios::beg);
while(file.read((char *) &c, sizeof(customer)))
{
if(c.compare(nam))
{
cout<<"tttt custm_id"<<" "<<"custm_name n"<<endl;
cout<<" "<<c.custm_id<<" "<<c.custm_name ;
cout<<"nttt_________________________________________ ";
cout<<"nttt ...Thank you for using ^_^ ... ";
i=0;
break ;
}
}
file.close() ;
if(i)
{
cout<<"Sorry!!!! Record Not found";
}
getch();
}
DELETE CUSTOMER
void customer::delete_customer()
{
fstream file;
fstream temp;
temp.open("tempdata.txt",ios::out);
customer c;
int i=1;
char nam[25];
file.open("customer.txt",ios::in);
cout<<"tttt All customer Detail n";
cout<<"ttt_____________________________nn";
cout<<"ttttn Enter name to Search: ";
cin>>nam;
file.seekg(0,ios::beg);
while(file.read((char *) &c, sizeof(customer)))
{
if(!c.compare(nam))
{
cout<<"tttt custm_id"<<" "<<"custm_namen"<<endl;
cout<<" "<<c.custm_id<<"
"<<c.custm_name;
i=0;
temp.write((char *)&c,sizeof(customer));
}
}
file.close() ;
temp.close();
remove("customer.txt");
rename("tempfile.txt","customer.txt");
getch();
}
CHECKOUT_CUSTOMER
void customer::checkout_customer()
{
system("cls");
cout<<"nttt_______________________________________"<<endl;
cout<<"ntttt HOTEL MANAGEMENT SYSTEM "<<endl;
cout<<"nttt_______________________________________nn"<<en
dl;
cout<<"tttt All customer Detail n";
}
ROOM_DETAIL
{
system("cls");
cout<<"nttt____________________________________"<<endl;
cout<<"nttttHOTEL MANAGEMENT SYSTEM "<<endl;
cout<<"nttt____________________________________n"<<endl;
cout<<"ttttAll customer Detail n";
cout<<left<<setw(10)<<"roomtype"<<left<<setw(15)<<"room_charge"<
<endl;
}
Generate Bill
#include "customer.h"
class Generatebill:public customer
{
public :
int r_charge;
char custm_name[25];
char b;
public:
void calculate()
{
system("cls");
cout<<"n Enter Room type:";
cout<<"n Select 1 for Super Luxary n
Select 2 for Luxary n Select 3 for Delux n";
cin>>b;
if(b=1)
{
r_charge=4000;
}
else
if(b=2)
{
r_charge=3000;
}
else
if(b=3)
{
r_charge=2000;
}
else{
cout<<"n Wrong choice ...";
cout<<"n ERROR: Room is not
allocated.";
cout<<"n Bill cannot be created ";
}
cout<<"n Enter the bill amount of restaurant:";
cin>>food;
cout<<"n Enter other charges:";
cin>>oc;
cout<<"n Enter customer name:";
cin>>custm_name;
cout<<"n Enter number of days:";
cin>>r_day;
room= r_charge * r_day;
t=(int) room + food + oc;
ser=(int)(0.05*t);
total=t+ser;
}
void display_bill()
{
system("CLS");
cout<<"n________________________________________________________
________________________";
cout<<"n Marriott Luxury Hotel ";
cout<<"n ____________________________________
";
cout<<"n Chandigarh , Punjab-070. ";
cout<<"n Tel :- 12253636 ";
cout<<"n--------------------------------------------------------------------------
------";
cout<<"n Customer name : "<<custm_name;
cout<<"n ";
cout<<"n Stayed for "<<r_day<<" days";
cout<<"n Room charges : "<<r_charge<<"(Per day)";
cout<<"n Room charges : "<<room<<"(total)";
cout<<"n Restaurant bill : "<<food;
cout<<"n Other charges : "<<oc;
cout<<"n Ser.tax % = 5%";
cout<<"n Ser.tax ="<<ser;
cout<<"n Bill Amount >>>>>> Rs "<<total;
cout<<"n ";
cout<<"n THANK YOU !!!!!";
cout<<"n Visit Again !";
}
};
void customer::generate_bill()
{
Generatebill b;
b.calculate();
b.display_bill();
}
6. TESTING
TEST CASE 1:
TEST CASE Number CASE 1.0 TEST CASE LOGIN
SYSTEM HMS SUBSYSTEM NIL
DESIGNED BY PRINCE DESIGN DATE 1 NOV
EXECUTED BY PRINCE EXECUTION DATE 8 NOV
SHORT
DESCRIPTION
Administration should login the system and display the
transaction
Screen on input of all choice as the username and 'a' as
password
PRE - CONDITIONS :
The user of the system is registered in the HMS and has a valid username and password.
User inputs 'admin' as the username and 'admin' as the password.
System displays the transaction screen
STEPS ACTION EXPECTED RESPONSE PASS /
FAIL
COMMENT
1 Go to login
page
Login page is popped in the
centre of the window
PASS Login page is
successfully
displayed
2 Enter
required
information
Input 'admin' as the
username and 'admin' as the
password
PASS
3 Submit the
information
The user presses the enter
button and waits for the
reply
PASS System
processes the
data
4 Display
main page
The application displays the
transaction screen granting
successful login to the user
PASS Transaction
screen is
Displayed
TEST CASE 2:
TEST CASE Number CASE 2.0 TEST CASE Issue a Book
SYSTEM LMS SUBSYSTEM NIL
DESIGNED BY PRINCE DESIGN DATE
1
OCTOBER
EXECUTED BY PRINCE EXECUTION DATE
9
OCTOBER
SHORT
DESCRIPTION
HSM should ADD CUSTOMER on successful entry of required
information
PRE - CONDITIONS :
HMS must ADD CUSTOMER on providing necessary information such as cutomer id, customer
name, occupation etc. and must successfully add the database accordingly.
STEPS ACTION EXPECTED RESPONSE PASS /
FAIL
COMMENT
1 Select add
customer
no
Add customer page should
be displayed
PASS Add customer
page is
successfully
displayed
2 Enter
required
information
Provide customer id, name
and of the customer you
want to add
PASS No error
found
3 Submit the
information
The user enter and waits for
the messege
PASS System
processes the
data
4 Add
customer
The application should add
customer and updated the
database accordingly
FAIL Customer
were not
updated in the
database
TEST CASE 3:
TEST CASE Number CASE 3.0 TEST CASE Return a Book
SYSTEM HMS3 SUBSYSTEM NIL
DESIGNED BY PRINCE DESIGN DATE 1 OCTOBER
EXECUTED BY PRINCE EXECUTION DATE 10 OCTOBER
SHORT DESCRIPTION HMSshould calculate the room charges entry of required information
PRE - CONDITIONS :
HMSmust calculate on providing necessary information such as room name, room fare, extra
charge etc. and must successfully show the total charge accordingly.
STEPS ACTION EXPECTED RESPONSE PASS /
FAIL
COMMENT
1 Go to
screen page
calculate should be
displayed
PASS Calculate
page
successfully
displayed
2 Enter
required
information
Room type, room fare ,extra
charges of the customer you
want to charge
PASS No error
found
3 Show the
information
The user enter and waits for
the display
FAIL System not
properly
calculate
7. CONCLUSION
At the end of this coursework, I was able to:
- Explain object oriented programming concepts and apply them to the modelling of
real world systems.
- Explain the object oriented paradigm and utilisation of the offered facilities.
- Demonstrate the ability to develop and derive new class structures and organise
them such that they will model real world systems within computers.
8. REFERENCES
1. Balaguruswamy 1 E,(2006),” Object Oriented Programming with C++”. 3rd
ed. Tata McGraw-Hill Publishing Company Limited Pages 54 - 68.
2. http://v2.cplusplus.com/forum/lounge/12685/ (CODER)

More Related Content

What's hot

Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
vivek shah
 
Student management system
Student management systemStudent management system
Student management systemGaurav Subham
 
Student record
Student recordStudent record
Student record
Upendra Sengar
 
Hotel management synopsis
Hotel management synopsisHotel management synopsis
Hotel management synopsis
Rahulraj Nirala
 
Presentation on java project (bank management system)
Presentation on java project (bank management system)Presentation on java project (bank management system)
Presentation on java project (bank management system)
Gopal Sheel
 
Student Management System Project Abstract
Student Management System Project AbstractStudent Management System Project Abstract
Student Management System Project Abstract
Udhayyagethan Mano
 
Atm project
Atm projectAtm project
Hotel management
Hotel managementHotel management
Hotel management
Arman Ahmed
 
Online Quiz System Project PPT
Online Quiz System Project PPTOnline Quiz System Project PPT
Online Quiz System Project PPT
Shanthan Reddy
 
Project for Student Result System
Project for Student Result SystemProject for Student Result System
Project for Student Result System
KuMaR AnAnD
 
Hotel Management System
Hotel Management System Hotel Management System
Hotel Management System
Kusum Sankhala
 
Online Attendance System
Online Attendance SystemOnline Attendance System
Online Attendance System
Akash Kr Sinha
 
SYNOPSIS ON BANK MANAGEMENT SYSTEM
SYNOPSIS ON BANK MANAGEMENT SYSTEMSYNOPSIS ON BANK MANAGEMENT SYSTEM
SYNOPSIS ON BANK MANAGEMENT SYSTEMNitish Xavier Tirkey
 
College Management System project
College Management System projectCollege Management System project
College Management System project
Manish Kushwaha
 
Hms project report
Hms project reportHms project report
Hms project report
Simranjitkaur89
 
Placement management system
Placement management systemPlacement management system
Placement management system
Surya Teja
 
Hotel management system presentation
Hotel management system presentationHotel management system presentation
Hotel management system presentation
joilrahat
 
Student management system
Student management systemStudent management system
Student management system
Amit Gandhi
 
Online Food Ordering System
Online Food Ordering SystemOnline Food Ordering System
Online Food Ordering System
Ankita Jangir
 

What's hot (20)

Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
 
Student management system
Student management systemStudent management system
Student management system
 
Online quiz
Online quizOnline quiz
Online quiz
 
Student record
Student recordStudent record
Student record
 
Hotel management synopsis
Hotel management synopsisHotel management synopsis
Hotel management synopsis
 
Presentation on java project (bank management system)
Presentation on java project (bank management system)Presentation on java project (bank management system)
Presentation on java project (bank management system)
 
Student Management System Project Abstract
Student Management System Project AbstractStudent Management System Project Abstract
Student Management System Project Abstract
 
Atm project
Atm projectAtm project
Atm project
 
Hotel management
Hotel managementHotel management
Hotel management
 
Online Quiz System Project PPT
Online Quiz System Project PPTOnline Quiz System Project PPT
Online Quiz System Project PPT
 
Project for Student Result System
Project for Student Result SystemProject for Student Result System
Project for Student Result System
 
Hotel Management System
Hotel Management System Hotel Management System
Hotel Management System
 
Online Attendance System
Online Attendance SystemOnline Attendance System
Online Attendance System
 
SYNOPSIS ON BANK MANAGEMENT SYSTEM
SYNOPSIS ON BANK MANAGEMENT SYSTEMSYNOPSIS ON BANK MANAGEMENT SYSTEM
SYNOPSIS ON BANK MANAGEMENT SYSTEM
 
College Management System project
College Management System projectCollege Management System project
College Management System project
 
Hms project report
Hms project reportHms project report
Hms project report
 
Placement management system
Placement management systemPlacement management system
Placement management system
 
Hotel management system presentation
Hotel management system presentationHotel management system presentation
Hotel management system presentation
 
Student management system
Student management systemStudent management system
Student management system
 
Online Food Ordering System
Online Food Ordering SystemOnline Food Ordering System
Online Food Ordering System
 

Viewers also liked

School Management (c++)
School Management (c++) School Management (c++)
School Management (c++)
Nirdhishwar Nirdhi
 
C++ project on police station software
C++ project on police station softwareC++ project on police station software
C++ project on police station software
dharmenderlodhi021
 
c++ project on restaurant billing
c++ project on restaurant billing c++ project on restaurant billing
c++ project on restaurant billing
Swakriti Rathore
 
Project report
Project reportProject report
Project report
meenalpandey
 
Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Self-employed
 
Computer science project work
Computer science project workComputer science project work
Computer science project work
rahulchamp2345
 
Physics Earth magnetic field using tangent galvanometer
Physics Earth magnetic field using tangent galvanometerPhysics Earth magnetic field using tangent galvanometer
Physics Earth magnetic field using tangent galvanometer
Tushar Ukey
 
chemistry project on preparation of potash alum
chemistry project on preparation of potash alumchemistry project on preparation of potash alum
chemistry project on preparation of potash alum
Tarun Rana
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory project
Monita Priyadarshini
 
Computer science Project for class 11th and 12th(library management system)
Computer science Project for class 11th and 12th(library management system)Computer science Project for class 11th and 12th(library management system)
Computer science Project for class 11th and 12th(library management system)
lokesh meena
 
Employee Management System Project Propsal
Employee Management System Project Propsal Employee Management System Project Propsal
Employee Management System Project Propsal
Syed Junaid
 
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Vidhi Kishor
 
Computer project final for class 12 Students
Computer project final for class 12 StudentsComputer project final for class 12 Students
Computer project final for class 12 Students
Shahban Ali
 
Petrol station safety
Petrol station safetyPetrol station safety
Petrol station safety
Zay Yar Tun
 
Contact Management System
Contact Management SystemContact Management System
Contact Management System
Gopal Bhat
 
cbse 12 computer science IP
cbse 12 computer science IPcbse 12 computer science IP
cbse 12 computer science IP
D. j Vicky
 
Computer science Investigatory Project Class 12 C++
Computer science Investigatory Project Class 12 C++Computer science Investigatory Project Class 12 C++
Computer science Investigatory Project Class 12 C++
Rushil Aggarwal
 
Computer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market BillingComputer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market Billing
Harsh Kumar
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project12th CBSE Computer Science Project
12th CBSE Computer Science Project
Ashwin Francis
 
C++ coding for Banking System program
C++ coding for Banking System programC++ coding for Banking System program
C++ coding for Banking System program
Harsh Solanki
 

Viewers also liked (20)

School Management (c++)
School Management (c++) School Management (c++)
School Management (c++)
 
C++ project on police station software
C++ project on police station softwareC++ project on police station software
C++ project on police station software
 
c++ project on restaurant billing
c++ project on restaurant billing c++ project on restaurant billing
c++ project on restaurant billing
 
Project report
Project reportProject report
Project report
 
Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12
 
Computer science project work
Computer science project workComputer science project work
Computer science project work
 
Physics Earth magnetic field using tangent galvanometer
Physics Earth magnetic field using tangent galvanometerPhysics Earth magnetic field using tangent galvanometer
Physics Earth magnetic field using tangent galvanometer
 
chemistry project on preparation of potash alum
chemistry project on preparation of potash alumchemistry project on preparation of potash alum
chemistry project on preparation of potash alum
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory project
 
Computer science Project for class 11th and 12th(library management system)
Computer science Project for class 11th and 12th(library management system)Computer science Project for class 11th and 12th(library management system)
Computer science Project for class 11th and 12th(library management system)
 
Employee Management System Project Propsal
Employee Management System Project Propsal Employee Management System Project Propsal
Employee Management System Project Propsal
 
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
 
Computer project final for class 12 Students
Computer project final for class 12 StudentsComputer project final for class 12 Students
Computer project final for class 12 Students
 
Petrol station safety
Petrol station safetyPetrol station safety
Petrol station safety
 
Contact Management System
Contact Management SystemContact Management System
Contact Management System
 
cbse 12 computer science IP
cbse 12 computer science IPcbse 12 computer science IP
cbse 12 computer science IP
 
Computer science Investigatory Project Class 12 C++
Computer science Investigatory Project Class 12 C++Computer science Investigatory Project Class 12 C++
Computer science Investigatory Project Class 12 C++
 
Computer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market BillingComputer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market Billing
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project12th CBSE Computer Science Project
12th CBSE Computer Science Project
 
C++ coding for Banking System program
C++ coding for Banking System programC++ coding for Banking System program
C++ coding for Banking System program
 

Similar to Hotel Management system in C++

Employee Management System in C++
Employee Management System in C++Employee Management System in C++
Employee Management System in C++
Jayant Gope
 
4.2 Service TestThis test is for the Services module. It designe.docx
4.2 Service TestThis test is for the Services module. It designe.docx4.2 Service TestThis test is for the Services module. It designe.docx
4.2 Service TestThis test is for the Services module. It designe.docx
gilbertkpeters11344
 
Steve_Gubenia_SDD
Steve_Gubenia_SDDSteve_Gubenia_SDD
Steve_Gubenia_SDDzenchi0
 
Estimate Of I
Estimate Of IEstimate Of I
Estimate Of IRaju Nair
 
En clipboard app quick_reference_guide
En clipboard app quick_reference_guideEn clipboard app quick_reference_guide
En clipboard app quick_reference_guide
shivamagarwal223
 
AD authentication with be eID
AD authentication with be eIDAD authentication with be eID
AD authentication with be eID
Andre Debilloez
 
QCon 2019 - Opportunities and Pitfalls of Event-Driven Utopia
QCon 2019 - Opportunities and Pitfalls of Event-Driven UtopiaQCon 2019 - Opportunities and Pitfalls of Event-Driven Utopia
QCon 2019 - Opportunities and Pitfalls of Event-Driven Utopia
Bernd Ruecker
 
OfficeCentral User Manual for Billing (English) V1R2
OfficeCentral User Manual for Billing (English) V1R2OfficeCentral User Manual for Billing (English) V1R2
OfficeCentral User Manual for Billing (English) V1R2
venturesmarketing
 
Online News Portal System
Online News Portal SystemOnline News Portal System
Online News Portal System
Rajib Roy
 
OfficeCentral User Manual (English) - Finance Module
OfficeCentral User Manual (English) - Finance ModuleOfficeCentral User Manual (English) - Finance Module
OfficeCentral User Manual (English) - Finance Module
Khairun Nisa Aziz
 
Android web service client
Android web service clientAndroid web service client
Android web service client
Aravindharamanan S
 
Warranty processing authorization config_guide
Warranty processing  authorization config_guideWarranty processing  authorization config_guide
Warranty processing authorization config_guide
vinayk_35919
 
Navjot_Resume_2017_Latest
Navjot_Resume_2017_LatestNavjot_Resume_2017_Latest
Navjot_Resume_2017_LatestNavjot Thakur
 
I doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docI doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docVERUS BRASIL
 
Project Business Requirements Document
Project Business Requirements DocumentProject Business Requirements Document
Project Business Requirements Document
Joshua Flewelling
 
Phase 1 of Predicting Payment default on Vehicle Loan EMI
Phase 1 of Predicting Payment default on Vehicle Loan EMIPhase 1 of Predicting Payment default on Vehicle Loan EMI
Phase 1 of Predicting Payment default on Vehicle Loan EMI
Vikas Virani
 
Cbse computer science (c++) class 12 board project bank managment system
Cbse computer science (c++)  class 12 board project  bank managment systemCbse computer science (c++)  class 12 board project  bank managment system
Cbse computer science (c++) class 12 board project bank managment system
pranoy_seenu
 
User id installation and configuration
User id installation and configurationUser id installation and configuration
User id installation and configuration
Alberto Rivai
 
Fi dev fs_92_vendor customer creation
Fi dev fs_92_vendor customer creationFi dev fs_92_vendor customer creation
Fi dev fs_92_vendor customer creation
ANILKUMARPULIPATI1
 

Similar to Hotel Management system in C++ (20)

Employee Management System in C++
Employee Management System in C++Employee Management System in C++
Employee Management System in C++
 
4.2 Service TestThis test is for the Services module. It designe.docx
4.2 Service TestThis test is for the Services module. It designe.docx4.2 Service TestThis test is for the Services module. It designe.docx
4.2 Service TestThis test is for the Services module. It designe.docx
 
Steve_Gubenia_SDD
Steve_Gubenia_SDDSteve_Gubenia_SDD
Steve_Gubenia_SDD
 
Estimate Of I
Estimate Of IEstimate Of I
Estimate Of I
 
En clipboard app quick_reference_guide
En clipboard app quick_reference_guideEn clipboard app quick_reference_guide
En clipboard app quick_reference_guide
 
AD authentication with be eID
AD authentication with be eIDAD authentication with be eID
AD authentication with be eID
 
QCon 2019 - Opportunities and Pitfalls of Event-Driven Utopia
QCon 2019 - Opportunities and Pitfalls of Event-Driven UtopiaQCon 2019 - Opportunities and Pitfalls of Event-Driven Utopia
QCon 2019 - Opportunities and Pitfalls of Event-Driven Utopia
 
OfficeCentral User Manual for Billing (English) V1R2
OfficeCentral User Manual for Billing (English) V1R2OfficeCentral User Manual for Billing (English) V1R2
OfficeCentral User Manual for Billing (English) V1R2
 
Online News Portal System
Online News Portal SystemOnline News Portal System
Online News Portal System
 
OfficeCentral User Manual (English) - Finance Module
OfficeCentral User Manual (English) - Finance ModuleOfficeCentral User Manual (English) - Finance Module
OfficeCentral User Manual (English) - Finance Module
 
Android web service client
Android web service clientAndroid web service client
Android web service client
 
Warranty processing authorization config_guide
Warranty processing  authorization config_guideWarranty processing  authorization config_guide
Warranty processing authorization config_guide
 
TibcoBE-Development
TibcoBE-DevelopmentTibcoBE-Development
TibcoBE-Development
 
Navjot_Resume_2017_Latest
Navjot_Resume_2017_LatestNavjot_Resume_2017_Latest
Navjot_Resume_2017_Latest
 
I doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docI doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.doc
 
Project Business Requirements Document
Project Business Requirements DocumentProject Business Requirements Document
Project Business Requirements Document
 
Phase 1 of Predicting Payment default on Vehicle Loan EMI
Phase 1 of Predicting Payment default on Vehicle Loan EMIPhase 1 of Predicting Payment default on Vehicle Loan EMI
Phase 1 of Predicting Payment default on Vehicle Loan EMI
 
Cbse computer science (c++) class 12 board project bank managment system
Cbse computer science (c++)  class 12 board project  bank managment systemCbse computer science (c++)  class 12 board project  bank managment system
Cbse computer science (c++) class 12 board project bank managment system
 
User id installation and configuration
User id installation and configurationUser id installation and configuration
User id installation and configuration
 
Fi dev fs_92_vendor customer creation
Fi dev fs_92_vendor customer creationFi dev fs_92_vendor customer creation
Fi dev fs_92_vendor customer creation
 

More from Prince Kumar

A letter from mom and dad
A letter from mom and dadA letter from mom and dad
A letter from mom and dadPrince Kumar
 
Factors influencing creativity
Factors influencing creativityFactors influencing creativity
Factors influencing creativityPrince Kumar
 
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation System
Prince Kumar
 
Car portal- Ewa final assignment
Car portal- Ewa final assignmentCar portal- Ewa final assignment
Car portal- Ewa final assignmentPrince Kumar
 
College Network
College NetworkCollege Network
College Network
Prince Kumar
 
Prisoner Management System
Prisoner Management SystemPrisoner Management System
Prisoner Management System
Prince Kumar
 
C Programming
C ProgrammingC Programming
C Programming
Prince Kumar
 
SAD - Waiter on Wheels
SAD - Waiter on WheelsSAD - Waiter on Wheels
SAD - Waiter on Wheels
Prince Kumar
 
Professional enterprise and development - IBM
Professional enterprise and development - IBMProfessional enterprise and development - IBM
Professional enterprise and development - IBM
Prince Kumar
 
Feedback System in PHP
Feedback System in PHPFeedback System in PHP
Feedback System in PHPPrince Kumar
 

More from Prince Kumar (12)

A letter from mom and dad
A letter from mom and dadA letter from mom and dad
A letter from mom and dad
 
Factors influencing creativity
Factors influencing creativityFactors influencing creativity
Factors influencing creativity
 
Personality test
Personality testPersonality test
Personality test
 
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation System
 
Car portal- Ewa final assignment
Car portal- Ewa final assignmentCar portal- Ewa final assignment
Car portal- Ewa final assignment
 
College Network
College NetworkCollege Network
College Network
 
Prisoner Management System
Prisoner Management SystemPrisoner Management System
Prisoner Management System
 
C Programming
C ProgrammingC Programming
C Programming
 
Positive attitude
Positive attitudePositive attitude
Positive attitude
 
SAD - Waiter on Wheels
SAD - Waiter on WheelsSAD - Waiter on Wheels
SAD - Waiter on Wheels
 
Professional enterprise and development - IBM
Professional enterprise and development - IBMProfessional enterprise and development - IBM
Professional enterprise and development - IBM
 
Feedback System in PHP
Feedback System in PHPFeedback System in PHP
Feedback System in PHP
 

Recently uploaded

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
parmarsneha2
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 

Recently uploaded (20)

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 

Hotel Management system in C++

  • 1. APIIT SD INDIA CE00314-2 FPCOP FURTHER PROGRAMMING CONCEPTS IN C++ HAND OUT DATE: 17TH AUGUST 2012 HAND IN DATE: 8TH NOVEMBER 2012 Submitted by: Prince Kumar Intake no: PT1082219
  • 2. Certificate This is to certify that the project Hotel Management System of the module Further Programming Concepts have been successfully completed by Prince Kumar Intake No.PT1082219 of level 2.The project has been covered all the required areas in an appropriate manner.
  • 3. INDIVIDUAL ASSIGNMENT PANIPAT CE00314-2 FPCOP FURTHER PROGRAMMING CONCEPTS IN C++ PT1082219 (COM) HAND OUT DATE: 17TH AUGUST 2012 HAND IN DATE: 8TH NOVEMBER 2012 WEIGHTAGE: 50%
  • 4. Acknowledgment “Gratitude is the fairest blossom which springs from the soul” Feeling gratitude and not expressing it is like wrapping a present and not giving it. We take this opportunity to convey our heartfelt gratitude to each and every one who has supported us in every way or the other during the course of our project. From the very core of our heart, we would like to express our sincere gratitude to Miss. Dipti for his supervisory guidance. We are always indebted to him for his kind support and constant encouragement and his enthusiasm to complete our project milestones. It requires lots of efforts in terms of cooperation and support to fulfill various tasks involved during the project. We are always grateful to our peers and friends who have always encouraged us and guided us whenever we needed assistance. We also take this opportunity to express our appreciation to all the participants involved during our preliminary research for their invaluable time to answer our queries and suggestions for the application to be developed. Things always remain hidden in the shadow of the unsung heroes; still we would to thank all the people passively involved in the assignment, people who encouraged us day in and day out to make it a success. At last but above all, we thank the Almighty for his blessings. Prince Kumar PT1082219
  • 5. Table of Contents Certificate................................................................................................................................................2 INTRODUCTION ..................................................................................................................................6 1.1 PURPOSE OF THE SYSTEM.......................................................................................................6 1.2 SCOPE....................................................................................................................................6 1.3 HARDWARE AND SOFTWARE REQUIREMENTS.............................................................................7 2.0 Design Description ......................................................................................................................7 2.1 Interface Design............................................................................................................................7 2.2 Class Diagram..............................................................................................................................14 2.3 ERD..................................................................................................................................................15 2.4 DFD..............................................................................................................................................16 2.4.1 Context Diagram ..................................................................................................................16 2.4.2 DFD-CHECK_IN .....................................................................................................................17 2.4.3. DFD-CHECK_OUT.................................................................................................................18 3.0 Description & Justification of OO concepts ..............................................................................18 3.1 Object....................................................................................................................................18 3.2 Polymorphism.......................................................................................................................19 3.3 Class......................................................................................................................................19 3.3 Encapsulation........................................................................................................................20 4.0 Description of Validation................................................................................................................21 5.0 Implementation ........................................................................................................................23 6. TESTING.............................................................................................................................................30 7. CONCLUSION.................................................................................................................................32 8. REFERENCES..................................................................................................................................32
  • 6. INTRODUCTION A typical luxury Hotel requires a management system to control its various operations such as maintaining account of all the people in its domain of services, attending to various needs of customers and also achieving increased efficiency in the overall working of the Hotel itself. 1.1PURPOSE OF THE SYSTEM The Hotel Management System aims to make simpler a staff’s interaction with the various modules of the Hotel and ease the process of acquiring information and providing services. The system can be accessed by the admin and customers but the highest priority given to admin that are allocated a login id and password. It will also allow cutting the operational costs of the hotel. 1.2 SCOPE In this system we will make extensive use of files system in C++. We will have a login id system initially. In this system we will be having separate functions for Getting the information Getting customer information who are lodged in Allocating a room to the customer Checking the availability Displaying the features of the rooms. Preparing a billing function for the customer according to his room no. In the software developed separate functions will be there for each of the above points so that there is ample scope for adding more features in the near future.
  • 7. 1.3 HARDWARE AND SOFTWARE REQUIREMENTS The platform used is C++. Hence we decided to use Microsoft Visual Studio 2010/2008 edition (Professional Edition). For optional coding and easy debugging we used Microsoft Visual Studio 2008 edition and made explicit .cpp files. Henceforth for optimal usage of such software a windows based operating system preferably Windows vista/7/XP must be there. Also on the hardware part any system having Windows Vista/7/XP installed will suffice. 2.0 Design Description 2.1 Interface Design Fig: welcome screen  Welcome Page where user get the info about the application.
  • 8. Fig : Login Screen  Login screen for admin and for customer here admin have the highest priority where admin can add, delete, search, update and many more.  Customer can view on availability of rooms Fig : Admin Login  Admin :- User name : admin Password: admin  Login page for admin. it is for security purpose . no one can access admin page . only admin have the permission to handle records.
  • 9. Fig : Admin Login  Admin :- User name : admin Password: admin Fig : Admin screen  Options to handle records.
  • 10. Fig : Add_customer  Adding customer details Name ID ID_Proof Customer_occupation Customer_checkin Customer_checkout Fig : Add_customer1
  • 11. Fig : Display_Customer  Displaying the details of the customer
  • 12. Fig : Customer_bill Fig : Final_Bill  Calculating the overall bill by taking Cust_name , no. of stayed , room charges , other charges
  • 13. Fig : Update_customer  Updating the details of the customer by taking user name. Fig : search_customer  Customer can be searched by just taking the name of the customer
  • 16. 2.4 DFD 2.4.1 Context Diagram HOTEL MANAGEMENT SYSTEM ROOM CUSTOMER CUSTOMER CHECK_OUT
  • 18. 2.4.3. DFD-CHECK_OUT 3.0 Description & Justification of OO concepts 3.1 Object We used to create object to call the function which is related to any particular class we had objects to call the function in this assignment. here we had created view object of class customer to call the function welcomecreen() and loginscreen() functions to call then in main functions #include"customer.h" using namespace std; void main() { customer view; view.welcomescreen(); view.login_screen(); }
  • 19. 3.2 Polymorphism Complier is able to select the appropriate function for a particular call at the complie time itself (also called as early binding ) we use polymorphism to access the variables from different class in this project we had use polymorphism to get access the variables of customer class. Code: class Generatebill:public customer 3.3 Class Bind the data and its associated functions together it allows data to be hidden if necessary from external use defining a class we are creating a new abstract data type that can be treated like other built – in data type Code : #ifndef H_M #define H_M #include<string> #include<iomanip> #include<iostream> #include<fstream> #include<conio.h> #include<math.h> #include<time.h> using namespace std; class customer { public: int custm_id; int custm_age; int check_inyear; int check_inmonth; int check_indate; char roomtype[20]; char custm_name[30]; int room_charge; int compare(char[]);
  • 20. char custm_occupation[20]; void getdata(); void putdata(); long total; //variable for Generate Bill int food; long room; float ser; int t; int oc; int r_day; public: void welcomescreen(); void login_screen(); void add_customer(); void delete_customer(); void update_customer(); void search_customer(); void main_screen(); void display_customer(); void checkout_customer(); void room_detail(); void generate_bill(); void room_bill(); }; #endif 3.3 Encapsulation It is a process of wrapping up to data value and member in a single unit (class).
  • 21. 4.0 Description of Validation In every project validation is the important parts while the development. In Hotel Management System we had also provided proper validation to make system error free. In this system we had provided validation in date month and year to get proper date from administrator. The codes which we had used to get proper validation in date system are mentioned below. code: cout<<"nEnter customer CheckIn Date : "; START: cout<<"n--------------------------------"; cout<<"nYear : "; cin>>check_inyear; cout<<"nMonth : "; cin>>check_inmonth; cout<<"nDate : "; cin>>check_indate; cout<<"nEnter Room Type : "; cin>>roomtype;
  • 22. cout<<"nEnter Room Charge : "; cin>>room_charge; if((check_inmonth==2) && (check_indate>29)) { cout<<"wrong input!!!n"; cout<<"nenter the date again....n"; goto START; } if((check_inmonth>12)||(check_indate>31)) { cout<<"wrong input!!!n"; cout<<"nenter the date again....n"; goto START; } if((check_inmonth==4||check_inmonth==6||check_inmonth==9||check_inmonth ==11) && (check_indate>30)) { cout<<"wrong input!!!n"; cout<<"nenter the date again....n"; goto START; } if((check_inyear%4)!=0 && (check_inmonth==2) && (check_indate>28)) { cout<<"wrong input!!!n"; cout<<"nenter the date again....n"; goto START; } We had use the validation in the adminstration login while entering the wrong user name & password it show the popup menu. cout<<"ttttUser Name = "; cin>>username; if(strcmp(username,"admin")==0) { string pass =""; char ch; cout <<"nttttPassword = "; ch = _getch(); while(ch != 13) {
  • 23. pass.push_back(ch); cout << '*'; ch = _getch(); } if(pass == "admin") { cout <<"ntt"<< "Access granted"; do { } } 5.0 Implementation WELCOME SCREEN: void customer::welcomescreen() { system("cls"); cout<< endl << endl << endl<< endl; cout<<" COMPUTERISED MANAGEMENT SYSTEM "<<endl; cout<<" APIIT SD INDIA, PANIPAT "<< endl; cout<<" INDIVIDUAL ASSINGMENT "<< endl; cout<<" ON "<< endl; cout<<" Further Programming Concepts in C++ "<< endl; cout<<" (CE00314-2) "<<endl; cout<<" ____________________________________________________ "<< endl; cout<< endl << endl << endl<< endl; cout<<" SUBMITTED BY: SUBMITTED TO: "<<endl; cout<<" Prince kumar Ms. Deepti Dhingra "<<endl; cout<<" (PT082219) (LECTURER) "<<endl; cout<< endl << endl; cout<<" Press Enter to continue...." << endl << endl << endl << endl; getch(); }
  • 24. LOGIN SCREEN. void customer::login_screen() { time_t t; system("cls"); t=time(NULL); cout<<"n "<<ctime(&t); customer c; t -= 24L*60L*60L; char choice; cout<< endl << endl << endl<< endl; cout<<" LOGIN SCREENn"; cout<<" ____________________________________________________ "<< endl; cout<<" 1.Administrator Loginn"; cout<<" 2.customer Loginn"; cout<<" 3.Exitn"; cout<<"nnn"; cout<<"Enter Choice:: "; cin>>choice; switch(choice) { case'1': system("cls"); c.main_screen(); break; case '2': search_customer(); break; case'3': exit(0); break; default: cout<<"wrong choice entered"; } }
  • 25. ADD CUSTOMER void customer::add_customer() { customer c; ofstream outf; outf.open("customer.txt",ios::out|ios::app|ios::binary); c.getdata(); outf.write((char*)&c,sizeof(c)); outf.close(); _getch(); } SEARCH CUSTOMER void customer::search_customer() { fstream file; customer c; int i=1; char nam[25]; file.open("customer.txt",ios::in); cout<<"tttt customer Detail n"; cout<<"ttt_________________________________ nn"; cout<<"ttttn Enter name to Search: "; cin>>nam; file.seekg(0,ios::beg); while(file.read((char *) &c, sizeof(customer))) { if(c.compare(nam)) { cout<<"tttt custm_id"<<" "<<"custm_name n"<<endl; cout<<" "<<c.custm_id<<" "<<c.custm_name ; cout<<"nttt_________________________________________ "; cout<<"nttt ...Thank you for using ^_^ ... "; i=0; break ; } } file.close() ; if(i) {
  • 26. cout<<"Sorry!!!! Record Not found"; } getch(); } DELETE CUSTOMER void customer::delete_customer() { fstream file; fstream temp; temp.open("tempdata.txt",ios::out); customer c; int i=1; char nam[25]; file.open("customer.txt",ios::in); cout<<"tttt All customer Detail n"; cout<<"ttt_____________________________nn"; cout<<"ttttn Enter name to Search: "; cin>>nam; file.seekg(0,ios::beg); while(file.read((char *) &c, sizeof(customer))) { if(!c.compare(nam)) { cout<<"tttt custm_id"<<" "<<"custm_namen"<<endl; cout<<" "<<c.custm_id<<" "<<c.custm_name; i=0; temp.write((char *)&c,sizeof(customer)); } } file.close() ; temp.close(); remove("customer.txt"); rename("tempfile.txt","customer.txt"); getch(); }
  • 27. CHECKOUT_CUSTOMER void customer::checkout_customer() { system("cls"); cout<<"nttt_______________________________________"<<endl; cout<<"ntttt HOTEL MANAGEMENT SYSTEM "<<endl; cout<<"nttt_______________________________________nn"<<en dl; cout<<"tttt All customer Detail n"; } ROOM_DETAIL { system("cls"); cout<<"nttt____________________________________"<<endl; cout<<"nttttHOTEL MANAGEMENT SYSTEM "<<endl; cout<<"nttt____________________________________n"<<endl; cout<<"ttttAll customer Detail n"; cout<<left<<setw(10)<<"roomtype"<<left<<setw(15)<<"room_charge"< <endl; } Generate Bill #include "customer.h" class Generatebill:public customer { public : int r_charge; char custm_name[25]; char b; public: void calculate() { system("cls"); cout<<"n Enter Room type:";
  • 28. cout<<"n Select 1 for Super Luxary n Select 2 for Luxary n Select 3 for Delux n"; cin>>b; if(b=1) { r_charge=4000; } else if(b=2) { r_charge=3000; } else if(b=3) { r_charge=2000; } else{ cout<<"n Wrong choice ..."; cout<<"n ERROR: Room is not allocated."; cout<<"n Bill cannot be created "; } cout<<"n Enter the bill amount of restaurant:"; cin>>food; cout<<"n Enter other charges:"; cin>>oc; cout<<"n Enter customer name:"; cin>>custm_name; cout<<"n Enter number of days:"; cin>>r_day; room= r_charge * r_day; t=(int) room + food + oc; ser=(int)(0.05*t); total=t+ser; } void display_bill() { system("CLS");
  • 29. cout<<"n________________________________________________________ ________________________"; cout<<"n Marriott Luxury Hotel "; cout<<"n ____________________________________ "; cout<<"n Chandigarh , Punjab-070. "; cout<<"n Tel :- 12253636 "; cout<<"n-------------------------------------------------------------------------- ------"; cout<<"n Customer name : "<<custm_name; cout<<"n "; cout<<"n Stayed for "<<r_day<<" days"; cout<<"n Room charges : "<<r_charge<<"(Per day)"; cout<<"n Room charges : "<<room<<"(total)"; cout<<"n Restaurant bill : "<<food; cout<<"n Other charges : "<<oc; cout<<"n Ser.tax % = 5%"; cout<<"n Ser.tax ="<<ser; cout<<"n Bill Amount >>>>>> Rs "<<total; cout<<"n "; cout<<"n THANK YOU !!!!!"; cout<<"n Visit Again !"; } }; void customer::generate_bill() { Generatebill b; b.calculate(); b.display_bill(); }
  • 30. 6. TESTING TEST CASE 1: TEST CASE Number CASE 1.0 TEST CASE LOGIN SYSTEM HMS SUBSYSTEM NIL DESIGNED BY PRINCE DESIGN DATE 1 NOV EXECUTED BY PRINCE EXECUTION DATE 8 NOV SHORT DESCRIPTION Administration should login the system and display the transaction Screen on input of all choice as the username and 'a' as password PRE - CONDITIONS : The user of the system is registered in the HMS and has a valid username and password. User inputs 'admin' as the username and 'admin' as the password. System displays the transaction screen STEPS ACTION EXPECTED RESPONSE PASS / FAIL COMMENT 1 Go to login page Login page is popped in the centre of the window PASS Login page is successfully displayed 2 Enter required information Input 'admin' as the username and 'admin' as the password PASS 3 Submit the information The user presses the enter button and waits for the reply PASS System processes the data 4 Display main page The application displays the transaction screen granting successful login to the user PASS Transaction screen is Displayed TEST CASE 2: TEST CASE Number CASE 2.0 TEST CASE Issue a Book SYSTEM LMS SUBSYSTEM NIL DESIGNED BY PRINCE DESIGN DATE 1 OCTOBER
  • 31. EXECUTED BY PRINCE EXECUTION DATE 9 OCTOBER SHORT DESCRIPTION HSM should ADD CUSTOMER on successful entry of required information PRE - CONDITIONS : HMS must ADD CUSTOMER on providing necessary information such as cutomer id, customer name, occupation etc. and must successfully add the database accordingly. STEPS ACTION EXPECTED RESPONSE PASS / FAIL COMMENT 1 Select add customer no Add customer page should be displayed PASS Add customer page is successfully displayed 2 Enter required information Provide customer id, name and of the customer you want to add PASS No error found 3 Submit the information The user enter and waits for the messege PASS System processes the data 4 Add customer The application should add customer and updated the database accordingly FAIL Customer were not updated in the database TEST CASE 3: TEST CASE Number CASE 3.0 TEST CASE Return a Book SYSTEM HMS3 SUBSYSTEM NIL DESIGNED BY PRINCE DESIGN DATE 1 OCTOBER EXECUTED BY PRINCE EXECUTION DATE 10 OCTOBER SHORT DESCRIPTION HMSshould calculate the room charges entry of required information PRE - CONDITIONS : HMSmust calculate on providing necessary information such as room name, room fare, extra charge etc. and must successfully show the total charge accordingly.
  • 32. STEPS ACTION EXPECTED RESPONSE PASS / FAIL COMMENT 1 Go to screen page calculate should be displayed PASS Calculate page successfully displayed 2 Enter required information Room type, room fare ,extra charges of the customer you want to charge PASS No error found 3 Show the information The user enter and waits for the display FAIL System not properly calculate 7. CONCLUSION At the end of this coursework, I was able to: - Explain object oriented programming concepts and apply them to the modelling of real world systems. - Explain the object oriented paradigm and utilisation of the offered facilities. - Demonstrate the ability to develop and derive new class structures and organise them such that they will model real world systems within computers. 8. REFERENCES 1. Balaguruswamy 1 E,(2006),” Object Oriented Programming with C++”. 3rd ed. Tata McGraw-Hill Publishing Company Limited Pages 54 - 68. 2. http://v2.cplusplus.com/forum/lounge/12685/ (CODER)