Coders Packet

Railway reservation/cancellation simulated system in C++.

By Kirti Vardhan

This code is a simulation of a railway reservation/cancellation system, written by using multiple inheritance and functions in C++.

This C++ code allows one to take a feel of how a railway reservation operates like.

On running the code, it asks you to choose whether you want to enter as an administrator or a user. The password currently set for entering as an administrator is "CodeSpeedy". It can be changed by changing the global mypass string variable.

Afterward, one can input travel details and book tickets as well as cancel one. One can add details about the passenger or user, store it, delete it and change it. Multiple inheritances in classes have been used and there are separate function for each action to be done.

Download Complete Code

Comments

No comments yet