/Shipping-Company

Data Structure Course Project

Primary LanguageC++

🚚 Shipping-Company


💡 Description

  •  The company needs to handle cargos' preparation and delivery as well as the trucks' moving and maintenance.
  •  The project main purpose is how to interact with different types of data and how to choose the appropriate list for each data type.
  •  The program should receive all information to be simulated from an input file and produce an output file that contains some information and statistics.
    •  The input file format

      image

    •  The output file format

      (CDT:Cargo Delivery Time ,PT:Cargo Prepartion Time,WT:Cargo Wait Time,TID:Truck Carrying Cargo Id)

      image

📖 User Guide

🔧How To Use

  •  First: Prepare your input file with the same format provided above (Also there are some preprepared input and output files provided).
  •  Second: Run the program on visual studio 2019 (if you want to use another version check how to retarget the project).
  •  Third: Run The Program and write your input file name (with .txt) and the name you want for the output file (with .txt).
  •  Only if you are in the interactive mode, press enter to move to the next hour.
  •  Congratulations, the program will starts to work now.

🧨Important Note

  •   In input file:This program has no auto promotion limit (days), MaxW (hours),cancellation event example and promotion event example.
  •   In output file:This program has no auto promoted cargos.

image