Skip to main content

RRS - Module 3

In this module, let us create Train objects and allow Admin to schedule the trains for a week.
Steps to be followed in this module:
  1. Create a class called Train by identifying its member variables
  2. Write the code for the Interface Menu.
    1. Login as Admin and do the following
      1. Add new trains
      2. Save the objects in file
      3. Schedule the trains for that week. (Note: Check the assumptions we made at the beginning of this project regarding scheduling)
      4. While scheduling, the folder structure to be created is
        1. RRS\TrainData\TrainNo
      5. The entire schedule could also be written into a file
      6. Display the schedule
    2. Logout from Admin Interface and log into the User Interface
      1. Display the schedule based on train
      2. Display the schedule based on Source and Destination
      3. Display the schedule based on Date
      4. Display all the trains scheduled
Note: Make sure that all the display functions print the details in a neat tabular format

Comments

Popular posts from this blog

Mini Project - Railway Reservation System

Module 1 Overview Railway Reservation System-(RRS) Project is developed to help students learn and realize capability of C programming language, and appreciate procedural approach of developing a system. RRS helps users reserve/cancel berths, search for trains, check reservation/cancellation history, etc... On the other hand it helps the railway reservation officers to prepare reservation charts, organize train schedules, etc... RRS provides two types of log-ins one is the User log-in for railway customers and the other one is Admin log-in for railway reservation officers. Project is divided into 10 modules of four hours duration each. All the modules will give exactly what to develop in the 4 hour time frame. Since most of the modules are inter-related it is important to keep track of the previous code. After submission it is allowed to make changes in the previous code to suit / integrate well to the system. Before we start the project, we need to make the followin...

Inheritance

Week 1 - M5 : Inheritance Learning Objectives At the end of this module, you will be able to Understand the implementation of inheritance in C++ Override the base class members Access overridden base class members using the scope resolution operator Understand the concept of base class initialization Introduction Inheritance The philosophy behind inheritance is to portray things as they exist in the real world. As inheritance is found in real world, it is important feature of OO programming. Inheritance has many advantages, the most important of them being the resuability of code. Once a class is defined and debugged, it can be used to create new subclasses. The reuse of existing class saves time and effort. The Class from which another class is derived is called the base class . The class which inherits the properties of the base class is called the derived class . Each instance of the derived class includes all the members of the base class. Since...