INVESTOGARY PROJECT
2017-2018
NAME ::
VAIBHAV GOEL
CLASS :: XII-A
ROLLNO.:- 32
BOARD ROLLNO.
1
Investigatory Project
On Travel Agency
2
This is to certify that the project work “TRAVEL
AGENCY” is a bonafide record of work done by
VAIBHAV GOEL under my guidance in partial fulfillment
of the requirements for the project work assigned to him..
Mr. Vivek Giri,
P.G.T.Compute
r Science,
Air Force
School,
Hindan
3
I take immense pleasure in thanking Mr. Vivek Giri for
having permitted me to carry out this project work.
Needless to mention that he had been a source of
inspiration and for his timely guidance in the conduct of
our project work. I would also like to thank him for all
their valuable assistance in the project work.
Words are inadequate in offering my thanks to sir, for
his encouragement and cooperation in carrying out the
project work.
Finally, yet importantly, I would like to express my
heartfelt thanks to my beloved parents for their blessings,
my friends/classmates for their help and wishes for the
successful completion of this project.
Name of Student:- Vaibhav Goel
4
1. About the project.
2. Classes and functions.
3. About programming Language C++.
4. Hardware and software requirement.
5. Project Listing.
6. Output.
7. Limitations.
8. Bibliography.
5
The purpose of this Project was to make
a C++ coding which will enable us to
make , perform and modify the contents
of a Telephone Directory.
I became interested in this topic when I
saw some programs on turbo C++ and
wanted to find out some facts about
classes and inheritance etc .The
information gained from this program
will help people know where to use
which inheritance, which specifier an d
why .It will also let them know which
way they have to lead there projects to
compile.
6
class telephone /* Only class included in this project */
{ private:
char name[30];
char fname[30];
char address[100];
char phone[15];
char city[20];
char state[30];
char b_address[100];
char b_phone[15];
char email[50];
public:
void read_data() ;
// function to read data members from the keyboard
void display_record();
// function to display data members on the screen
void disp_name_phone();
// function to display name and phone number in a single row
int count_pages();
// function to count total no of pages
void main_menu();
// function to display main menu on the screen
void search_menu();
// function to display search menu
void report_menu();
// function to display report menu
void add_member();
7
// function to add a new member
void delete_member();
// function to delete any existing member
void modify_member();
// function to mosify member details
void search_name();
// function to search member name from the telephone file
void search_phone();
// function to search member phone number from the telephone file
void search_address();
// function to search member address from the telephone file
void search_email();
// function to search member email from the telephone file
void search_fname();
// function to search member father name from the telephone file
void report_list();
// function to display all member details from the telephone file
void report_name_phone();
// function to display member name and phone number from the
telephone file
void report_name_address();
void report_name_phone_address();
void report_name_email();
};
8
C++ is an "object oriented" programming language created by
Bjarne Stroustrup and released in 1985. It implements "data
abstraction" using a concept called "classes", along with other
features to allow object-oriented programming. Parts of the C++
program are easily reusable and extensible; existing code is easily
modifiable without actually having to change the code. C++ adds a
concept called "operator overloading" not seen in the earlier OOP
languages and it makes the creation of libraries much cleaner.
C++ maintains aspects of the C programming language, yet has
features which simplify memory management. Additionally, some
of the features of C++ allow low-level access to memory but also
contain high level features.
C++ could be considered a superset of C. C programs will run in
C++ compilers.
C uses structured programming concepts and techniques while
C++ uses object
oriented programming and classes which focus on data.
9
Hardware Requirement
Pentium- I or Higher
128 MB RAM or Higher
Monitor
KeyBoard
Software Requirement
DOS or Windows 95 or any other Operating
System
Turbo C++ or Codeblocks or any other
C++ Compiler
10
This is only a demo project. It can not
be used directly in a real life situation.
It is dos based computer program. Now
the same can be implemented on
windows as well as on MAC or Linux
operating system.
Input interface can be more user
friendly.
Business information can be added .
11
Computer Science :
By Sumita Arora
Let us C++ :
By Yashwant
Kanetkar
C++ projects :
By Vivek Giri
Websites
www.pscode.com
www.google.com
12