Railway Reservation System

AS the name indicate Railway Reservation System project is based on making a online reservations. The project is based on C language.

Hey, Its really very interesting. I have also tried to make the online reservation. But I was not able to make it. After all I have made it in VB. Net language. Because to make that online on C language its really very tough.



This RAILWAY RESERVATION MANAGEMENT SYSTEM should be able to manage all the reservation related functions. The system should be distributed in nature. This system is divided into five zones.

Each zone should have same functionalities. Each zone will stores the information about train name, train schedules, availability. The administrator should be able to enter any change related to the train information like change in train name, number etc.

The system should be able to reserve seat in a train for a passenger. First the clerk will check for availability for the seats in a particular train on a specified date of journey. If it is available the clerk will reserve seats. The passenger will be given a unique PNR no.

The system should be able to cancel a reservation. The clerk will delete the entries in the system.

The passenger can check their reservation status online by entering their PNR no. The system will display his current status like confirmed, RAC or waiting list. They are also able to see information related to the train schedules.

The system should be able to print the report like it should be able to generate reservation chart, train report, reservation ticket which will have train no and name, date of journey, boarding station, destination station, person name, age, sex, total fare and a unique PNR no. The system should be able to print the cancellation ticket which will have total fare and the amount deducted.



The purpose of this source is to describe the railway reservation system which provides the train timing details, reservation, billing and cancellation on various types of reservation namely,

Confirm Reservation for confirm Seat.

Reservation against Cancellation.

Waiting list Reservation.

Online Reservation.

Tatkal Reservation.


Main headings: Bold
Not applicable


The different types of readers are
Management people


Counter clerk


NTES – National Train Enquiry System

IVRS – Interactive Voice Response system

PRS – passenger reservation system
It consists of
Train details
Reservation form

1.5. SCOPE

Freight Revenue enhancement.

Passenger Revenue enhancement.

Improved & optimized service.




It enables us to maintain the railway train details like their timings, number
of seat available and reservation billing and cancelling the tickets.


Keyboard and Mouse


Normal PC


Front end -> Visual Basic
Back end -> MS-Access


Indian Railway’s web-site,indianrail.gov.in offers PRS enquiries on the internet Berth/Seat availability, Passenger Status, Fare, Train Schedule etc,.

National Train Enquiry System (NTES) website,trai nenqui ry.com gives dynamic information about the running status of any train and its expected arrival/departure at any given station.

Mobile telephone based SMS enquiry service. A new mobile phone
based facility for rail users’ viz.,

Country wide extension of Universal Rail Enquiry number “139”
through setting up of Interactive Voice Response System (IVRS)


The OS types are
Windows NT
Windows XP
Windows 98


A maximum of 42 laces hits per day have been recorded.


Any Reservation counter from 8 am to 8 pm.

Prior to 60 days of Journey.

One form for 6 persons only.

Reserved ticket done through pre defined Logic.

To save time & queues Agent is others guides.


It tells the short note about the product.


Customers may view the train timing at a date their name and
number of tickets.


After checking the number of seats available the customers
reserve the tickets.

2.2.3. BILLING:

After reserving the required amount of tickets, the customer
paid the amount.


If the customers want to cancel the ticket, then half of the
amount paid by the customer will be refunded to him.

Knowledgeable user
No voice user
Expert user


Less than 1 sec for local transactions.

3 sec for network transaction.

Capable for providing transaction for 22 hrs per day.

Uptime of PRS is 99.5 + %


Designing -> Rational Rose

Developing -> Visual Basic



Train Delay Alert Service.

Booking Terminals.

Interactive voice Response System.

Touch Screen.

Passengers operated Enquiry Terminals.


It is available during all 24 hours.

Offered through Mail express, super fast , Rajdhani & Shatabdi Trains.
About 1520 Trains runs daily.
Variety of compartments based on comfort :

AC first class.

AC sleeper.

First class.

AC three tier.

AC chair car.

Sleeper class

Ordinary chair car.
Types of concerns & complexities:

44 types of quotas.

8 types of trains.

9 types of classes.

162 types of concessions.

127 types of bogies.




The bill passed on any proposals related to railway management needs approval of
Ministry of railway department





The Indian Railways (IR) carries about 5.5 lakhs passengers in reserved accomodation every day.The Computerised Passenger Reservation System(PRS) facilates the booking and cancellation of tickets from any of the 4000 terminals(i.e. PRS bookin window all over the countries). These tickets can be booked or cancelled for journeys commencin in any part of India and ending in any other part, with travel time as long as 72hours and distance upto several thousand kilometers.
The project of PRS was launched on 15th November 1985, over Northern Railway with the installation of Integrated Multiple Train Passenger Reservation System(IMPRESS), an online transaction processing system developed by Indian Railways in association with Computer Maintenance Corporation Ltd., at New Delhi. The objective was to provide reserved accomodations on any train from any counter,preparation of train charts and accounting of the money collected. The application was implemented in 1987 Mumbai,Chennai,Kolkata,Secunderabad subsequently.


ONLINE BOOKING: With the help of this people can book their tickets online through internet, sitting in their home by a single click of mouse. Using their credit cards people can easily get their tickets done within minutes. There are certain charges for online booking as well.

COUNTER BOOKING: This is the oldest method of booking the tickets. The reservation counters are there at railway department from where people can get the tickets to their respective destinations.

Railway passengers frequently need to know about their ticket reservation status, ticket availability on a particular train or for a place,train arrival or departure details, special trains etc.. Customer information centers at the railway stations are unable to serve such queries at peak periods.
The number of the reservation counters available to the passengers and customers are very less.
On most of the reservation systems there are long queues, so it takes a long time for any individual to book the ticket.
As now there are no call centers facilities available to solve the queries of the passengers.

In Online Railway Reservation System,for booking the tickets online the intended user has to enter details like username and password.
Once the username and passwords are verified then he is allowed to enter the main system wherein he can select the destination, date and no of tickets.
For the purchase of the tickets he is asked for payment details (like credit card details etc).
The user is also provided with a provision of canceling the reservation where in the entire amount is credited back to his account.
The analysis part also comprises of the UML diagrams that boost the program.

A spiral model is divided into a set of framework activities defined by software engineering terms.
As the evolutionary process begins, software team performs activities that are implied by a circuit around the spiral in a clockwise direction, beginning at the center.
The first circuit around the spiral might result in the development of a product specification; subsequent passes around the spiral might be used to develop a prototype and then progressively more sophisticated versions of software.
Unlike other process models that end when software is delivered, the spiral model can be adapted to apply throughout the life of the computer software.
Every new step is dependent on the previous step and moves spirally outwards.
At any point in the system we can return back to the previous step.
Because software evolves as the process progresses, both we and customers can better understand and react to the risks at evolutionary level.
In the case of errors we can easily trace the root cause of errors.
Spiral model is very realistic approach towards the process development.

Our project is only the gist of the online reservation system.
Due to time constraints it was not possible to incorporate all the concepts related to the topic.
So the program created is just an instance of the Original Online Railway Reservation System.

This project introduces railway reservation system . It explains how reservation is being done in Indian Railways . The step by step procedure is explained . This project is developed in c ++ language . Allmost all the header files have been used in this project. Proper comments have been given at desired locations to make the project user friendly. Various functions and structures are used to make a complete use of this language.
Thos project is well versed with the programming . Railway reservation can easily accompanied with the help of this.
Today one cannot afford to rely on the fallible human beings of be really wants to stand against today’s merciless competition where not to wise saying “to err is human” no longer valid, it’s outdated to rationalize your mistake. So, to keep pace with time, to bring about the best result without malfunctioning and greater efficiency so to replace the unending heaps of flies with a much sophisticated hard disk of the computer. One has to use the data management software. Software has been an ascent in atomization various organizations. Many software products working are now in markets, which have helped in making the organizations work easier and efficiently. Data management initially had to maintain a lot of ledgers and a lot of paper work has to be done but now software product on this organization has made their work faster and easier. Now only this software has to be loaded on the computer and work can be done. This prevents a lot of time and money. The work becomes fully automated and any information regarding the organization can be obtained by clicking the button. Moreover, now it’s an age of computers of and automating such an organization gives the better look.
The systems development life cycle is a project management technique that divides complex projects into smaller, more easily managed segments or phases. Segmenting projects allows managers to verify the successful completion of project phases before allocating resources to subsequent phases.
Software development projects typically include initiation, planning, design, development, testing, implementation, and maintenance phases. However, the phases may be divided differently depending on the organization involved. For example, initial project activities might be designated as request, requirements-definition, and planning phases, or initiation, concept-development, and planning phases. End users of the system under development should be involved in reviewing the output of each phase to ensure the system is being built to deliver the needed functionality.
Initiation Phase

The Initiation Phase begins when a business sponsor identifies a need or an opportunity. The purpose of the Initiation Phase is to:
• Identify and validate an opportunity to improve business accomplishments of the organization or a deficiency related to a business need.
• Identify significant assumptions and constraints on solutions to that need.
• Recommend the exploration of alternative concepts and methods to satisfy the need including questioning the need for technology, i.e., will a change in the business process offer a solution?
• Assure executive business and executive technical sponsorship.
The Sponsor designates a Project Manager and the business need is documented in a Concept Proposal. The Concept Proposal includes information about the business process and the relationship to the Agency/Organization Infrastructure and the Strategic Plan. A successful Concept Proposal results in a Project Management Charter which outlines the authority of the project manager to begin the project.
Careful oversight is required to ensure projects support strategic business objectives and resources are effectively implemented into an organization's enterprise architecture. The initiation phase begins when an opportunity to add, improve, or correct a system is identified and formally requested through the presentation of a business case. The business case should, at a minimum, describe a proposal’s purpose, identify expected benefits, and explain how the proposed system supports one of the organization’s business strategies. The business case should also identify alternative solutions and detail as many informational, functional, and network requirements as possible.
System Concept Development Phase
The System Concept Development Phase begins after a business need or opportunity is validated by the Agency/Organization Program Leadership and the Agency/Organization CIO. The purpose of the System Concept Development Phase is to:
• Determine the feasibility and appropriateness of the alternatives.
• Identify system interfaces.
• Identify basic functional and data requirements to satisfy the business need.
• Establish system boundaries, identify goals, objectives, critical success factors, and performance measures.
• Evaluate costs and benefits of alternative approaches to satisfy the basic functional requirements
• Assess project risks
• Identify and initiate risk mitigation actions, and
• Develop high-level technical architecture, process models, data models, and a concept of operations.
This phase explores potential technical solutions within the context of the business need. It may include several trade-off decisions such as the decision to use COTS software products as opposed to developing custom software or reusing software components, or the decision to use an incremental delivery versus a complete, one-time deployment. Construction of executable prototypes is encouraged to evaluate technology to support the business process.
The System Boundary Document serves as an important reference document to support the Information Technology Project Request (ITPR) process. The ITPR must be approved by the State CIO before the project can move forward.

Designing the application and of Railway Reservation System for the purpose of reserving railway tickets and database maintenance about train and passenger details by the railway department only. This database helps railways to retrieve data as and when required in future.
The scope of project included evaluation of the application and was primarily concerned with the transactions related to booking of tickets from the terminals operated by the railway personnel.
Application controls and simulation were used to evaluate data validation and program logic. The selected data, as made available, for substantive checking of the completeness, integrity and consistency of data using computer assisted applications such as VB, MS Access.
The records maintained in the database of the railways reservation centre were also reviewed. Discussions were held with the database users to gain understanding regarding the various functional aspects of the system.
The booking database has passenger’s details like Name, Age, Gender, Total Number of Passengers Traveling, Date of Travel, and Class of Travel.
The train database has train details like Train Name, Train Number, Route, From, To, Train Time, AC First Class, AC 2 Tier, AC 3 Tier, Sleeper, Second Sitting and Quota Management like General, Takkal.

 Windows XP Professional.
 Visual Basic 6.0.
 Ms Access.
 Pentium IV 3.0GHz Processor
 512 MB RAM
 80 GB Hard Disk
 17” Monitor
 Mouse, keyboard.
In our Railway Reservation System, there are four main modules available. They are
1. Train Master
2. Ticket Booking
3. Ticket Canceling
4. Reports
1. Train Master:
The Train Master is Admin side module. The Administrator only can Add, modify and Delete the train Details. The Train Master contains the following details.
a) Train Name
b) Train No
c) Source
d) Destination
e) Departure Time
f) Arrival Time
g) Total Seats
h) Kilometers
i) General Seats (1A, 2A, 3A, 2S, SL, CC)
j) Takkal Seats (1A, 2A, 3A, 2S, SL, CC)
k) Routes and Timings
2. Ticket Booking:
The Ticket Booking is user (Employee of Railway Dept.) side module. The user can book the ticket using this module. The user should follow the steps for the ticket booking.
a) First you should select the Source and Destination.
b) Next, you should select the Date. While the date textbox got focus, the calendar will display. By clicking the calendar, the date will be selected. And you can’t select the yesterday and before date.
c) Select the Quota (General or Takkal).
d) Click the Find button to find the trains which are available.
1. If you select the Takkal Quota and the date is day after tomorrow in the sense, you can’t book the ticket for Takkal Quota for that day. The Takkal Quota will enable only today and tomorrow only.
e) After clicking the find button, the available train list will be displayed in the flexgrid.
f) By clicking the train number or train name in the flex grid, the “Route” button enabled. By clicking the route button, the corresponding train route, timings, and kms.
g) By clicking the class column to the corresponding train whichever you want to travel, then “Book” button will enable.
h) Click the “Book” button to enter the Name, Age, Sex and Berth.
i) After Enter the details, Click the Proceed Button.
j) The frame will display the overall details like Source, Destination, Travel Date, Booked Date, Total Members, Quota and Total Fare.
k) Click the “Confirm” Button to confirm the details. Then only the Booking details will be stored and PNR Number will be generated.
3. Ticket Canceling:
The Ticket Canceling is also user (Employee of Railway Dept.) side module. The user can cancel the ticket using this module. The user should follow the steps for the ticket Cancel.
a) Enter the PNR Number in the Textbox and Click Find.
b) It will show the details like Train No., Train Name, Booked Date, Travel Date, Source, Destination, Class, Quota, Total Fare, Kms in the Frame.
c) It also shows the passenger names, Age, Sex, Berth, Class, Fare and status in the flex grid.
d) Click the Name in the flex grid which you want to cancel and where the status is “Booked”.
e) Click the “Cancel” Button to cancel the ticket.
4. Reports:
The Report Module is also user (Employee of Railway Dept.) side Module. The user can take two types of reports by giving the PNR Number.
a) Booked Tickets
b) Canceled Tickets
Railway Reservation System This application manages booking railway tickets online by entering the passenger details,booking tickets, viewing the train timings,details of modification/cancellation of any train timings,details about special trains.
In Online Railway Reservation System,for booking the tickets online the intended user has to enter details like username and password.
Once the username and passwords are verified then he is allowed to enter the main system wherein he can select the destination, date and no of tickets.
For the purchase of the tickets he is asked for payment details (like credit card details etc).
The user is also provided with a provision of canceling the reservation where in the entire amount is credited back to his account.
Send me the full documentation of Railway Reservation System,Please.

to get information about the topic"Railway Reservation System" refer the page link bellow


Thank you all for the information.
to get information about the topic Online Cinema Ticket Booking System using C programming.. full report ,ppt and related topic refer the page link bellow



Railway Reservation System



This Project Introduces Railway Reservation System. It Explains now Reservation is being done in Indian Railways. Since the advent of train journeys in 1853 when the first passenger train was started, Indian Railways has always been reinventing and innovating itself. From the days of steam engines to electric express trains, it has come a long way. While the make and comfort that the Indian Railways offer has obviously improved with the boost in technology, the truly revolutionary concept of the Indian Railways has been the introduction of the online railways reservation system.


This Project is Dedicated to
Model the existing Railway/(Other) Reservation System
Provide a Comprehensive set of features to enhance their operational limits
Evaluate their performance in different Scenarios
Suggest modifications for greater efficiency

Scope and Feasibility

Implementations of this project idea are in industrial use in the form of etc. Hence, this can be used for suggesting improvements in design, performance and greater usability.

Apart from the industrial applications mentioned above, it is a research oriented project as well, the task of performance evaluation of different database designs, for efficiency, is in this spirit.

System Specification

The railway network is a very vast system to be handled manually and its computerization will prove to be of great help to both the employees and the passengers.

to get information about the topic online railway ticket reservation system full report ppt and related topic refer the page link bellow






to get information about the topic"Railway project" full report ppt and related topic refer the page link bellow



to get information about the topic "online railway reservation system" full report ppt and related topic refer the page link bellow



to get information about the topic online railway ticket reservation system full report ppt and related topic refer the page link bellow






you can refer these pages to get the details on Railway reservation system



i want source code in html for online railway reservation system
very good post in this regard tkhe lkjth hjkjdf the k sdfhwlerte ljlkhyre ldhtrle l; hejrej fsad;
Practical Explanation ( For Example ) :- `1st of all can you tell me every single seconds detail from that time when you born ?? ( i need every seconds detail ?? that what- what you have thought and done on every single second )

can you tell me every single detail of your `1 cheapest Minute Or your whole hour, day, week, month, year or your whole life ??

if you are not able to tell me about this life then what proof do you have that you didn't forget your past ? and that you will not forget this present life in the future ?

that is Fact that Supreme Lord Krishna exists but we posses no such intelligence to understand him.
there is also next life. and i already proved you that no scientist, no politician, no so-called intelligent man in this world is able to understand this Truth. cuz they are imagining. and you cannot imagine what is god, who is god, what is after life etc.
for example :Your father existed before your birth. you cannot say that before your birth your father don,t exists.

So you have to ask from mother, "Who is my father?" And if she says, "This gentleman is your father," then it is all right. It is easy.
Otherwise, if you makes research, "Who is my father?" go on searching for life; you'll never find your father.

( now maybe...maybe you will say that i will search my father from D.N.A, or i will prove it by photo's, or many other thing's which i will get from my mother and prove it that who is my Real father.{ So you have to believe the authority. who is that authority ? she is your mother. you cannot claim of any photo's, D.N.A or many other things without authority ( or ur mother ).

if you will show D.N.A, photo's, and many other proofs from other women then your mother. then what is use of those proofs ??} )

same you have to follow real authority. "Whatever You have spoken, I accept it," Then there is no difficulty. And You are accepted by Devala, Narada, Vyasa, and You are speaking Yourself, and later on, all the acaryas have accepted. Then I'll follow.
I'll have to follow great personalities. The same reason mother says, this gentleman is my father. That's all. Finish business. Where is the necessity of making research? All authorities accept Krsna, the Supreme Personality of Godhead. You accept it; then your searching after God is finished.

Why should you waste your time?
all that is you need is to hear from authority ( same like mother ). and i heard this truth from authority " Srila Prabhupada " he is my spiritual master.
im not talking these all things from my own.

in this world no `1 can be Peace full. this is all along Fact.

cuz we all are suffering in this world 4 Problems which are Disease, Old age, Death, and Birth after Birth.

tell me are you really happy ?? you can,t be happy if you will ignore these 4 main problem. then still you will be Forced by Nature.

if you really want to be happy then follow these 6 Things which are No illicit s.ex, No gambling, No drugs ( No tea & coffee ), No meat-eating ( No onion & garlic's )

5th thing is whatever you eat `1st offer it to Supreme Lord Krishna. ( if you know it what is Guru parama-para then offer them food not direct Supreme Lord Krishna )

and 6th " Main Thing " is you have to Chant " hare krishna hare krishna krishna krishna hare hare hare rama hare rama rama rama hare hare ".
If your not able to follow these 4 things no illicit s.ex, no gambling, no drugs, no meat-eating then don,t worry but chanting of this holy name ( Hare Krishna Maha-Mantra ) is very-very and very important.

Chant " hare krishna hare krishna krishna krishna hare hare hare rama hare rama rama rama hare hare " and be happy.

if you still don,t believe on me then chant any other name for 5 Min's and chant this holy name for 5 Min's and you will see effect. i promise you it works And chanting at least 16 rounds ( each round of 108 beads ) of the Hare Krishna maha-mantra daily.
Here is no Question of Holy Books quotes, Personal Experiences, Faith or Belief. i accept that Sometimes Faith is also Blind. Here is already Practical explanation which already proved that every`1 else in this world is nothing more then Busy Foolish and totally idiot.
every `1 is already Blind in this world and if you will follow another Blind then you both will fall in hole. so try to follow that person who have Spiritual Eyes who can Guide you on Actual Right Path. ( my Authority & Guide is my Spiritual Master " Srila Prabhupada " )
if you want to see Actual Purpose of human life then see this page link : ( www ( dot ) asitis ( dot ) com {Bookmark it })
read it complete. ( i promise only readers of this book that they { he/she } will get every single answer which they want to know about why im in this material world, who im, what will happen after this life, what is best thing which will make Human Life Perfect, and what is perfection of Human Life. ) purpose of human life is not to live like animal cuz every`1 at present time doing 4 thing which are sleeping, eating, s.ex & fear. purpose of human life is to become freed from Birth after birth, Old Age, Disease, and Death.
i want html code for creating a railway reservation web page in html language
A Reservation Against Cancellation (RAC) is a type of ticket that can be purchased for travel on the Indian Railways. Although it ensures certainty of travel, it does not guarantee a berth. A berth will be allocated to the person who reserves an RAC ticket if passengers who already have a confirmed ticket do not turn up before the train departure or get their confirmed ticket cancelled. A berth is split into 2 seats for 2 RAC ticket holders. If there’s any last minute cancellations, or if any quota allocations remain unsold, or if any confirmed ticket holders are given a free upgrade (more later), an RAC ticket holder is given the empty berth, the other RAC ticket holder can then convert the 2 seats into a berth.Generally, RAC/WL tickets will have two numbers - RAC8/RAC2, WL20/WL15, WL12/RAC2, etc. The first number shows the status of the ticket at the time of booking. The second number after the slash (/) shows the status of your ticket at the time of checking the status of the ticket. So, RAC8/RAC2 means that when you purchased the ticket, it may be that yours was the 8th such ticket under RAC category, which has moved 6 places after 6 cancellations before your position which is moved to the 2nd (you can assume that you were the 8th person in the queue and you are the 2nd person now). You can check out the current status of your booking by entering 10-digit PNR number at PNR Status. So having a RAC ticket means that you can travel sharing a berth with another person.

Its really very interesting post. I have also tried to make the online reservation. But I was not able to make it. All information is very helpful for me....................

Important Note..!

If you are not satisfied with above reply ,..Please


So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Tagged Pages: ry comww trainenquie, railway reservation system project, railway reservation project modules description, train reservation system ideas, railway reservation, module description for railway reservation,
Popular Searches: rai9lway reservation system in vb, apa citation for supreme, requirement for railway reservation system in c language modules, waterfall model for railway reservation system, ppt synopsis for railway reservation system, railway reservation usuing multithreading, mother marianne,

Quick Reply
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)