You are on page 1of 4

Description of Classes Used

Class railways:

Private Data Members:


Station[30]: To Store Station Name
distance: To Store Distance
fare: To Store Fare

Public Member Functions:


ad_data(): Function to Add Data
ammout(): Function to Show Ammount
modify: Function to Modify Information

Description of Functions Used:


detail(): Function to Show Details

REQUIREMENTS
HARDWARE REQUIRED
Printer: to print the required
documents of the project
Compact Drive
Processor: Intel(R) Pentium (R)
RAM: 4 GB
Hard disk: 500 GB.

SOFTWARE
REQUIRED
Operating system : Windows 7
Ultimate
Turbo C++: for execution of
program and
Ms Word: for presentation of output.

About C++
In the early 1970s, Dennis Ritchie of Bell Laboratories
was engaged in a project to develop a new operating
system. Ritchie discovered that in order to accomplish his
task he needed the use of a programming language that
was concise and that produced compact and speedy
programs. This nee led Ritchie to develop the
programming language called C.
In the early 1980s, also at Bell Laboratories, another
programming language was created which was based
upon the C language. This new language was developed
by Bjarne Stroustrup and was called C++. Stroustrup
states that the purpose of C++_is to make writing good
programs easier and more pleasant for the individual
programmer. When he designed C++ he added OOP
(Object Oriented Programming) features to C without
significantly changing C component. Thus C++ is a
relative (called a superset) of C, meaning that any valid
C is also a valid C++ program.
There are several versions of the C++ language, of which
Visual C++ is only one. Other dialects include Borland C+
+, Turbo C++, and Code Warrior (Mac). All of these
software packages enable you to create computer
programs with C++, but they all implement the C++
language in slightly different manner. In an attempt to
maintain portability of both the C and C++ languages,
the American National Standards Institute (ANSI)

developed a standard of consistency for C and C++


programming.

You might also like