/ParkingLot

Design a system for automatic parking system

Primary LanguageC++

ParkingLot System

This project implements a fully automatic parking lot system which will keep track of the cars parked inside the parking lot and give the parking ticket to the car's driver. The system is opitmized in such way that car's driver gets the empty slot which is nearest to the entry point to park the car.


Requirements

How to run the program

Ubuntu/Mac

step-1 : open terminal

step-2 : clone or copy the program folder and navigate the terminal to that folder

step-3 : copy your custom input file into program folder or edit the existing input.txt file

step-4 : To run execute this command $g++ ParkingLot.cpp -o output

step-5 : $./output.exe input.txt (here input.txt should your custom input file or already existing input file in the folder)

step-6 : you will the output of the given input file in the ternimal

Some assumption for this system

  1. Parking lot has only one floor (though, can be changed to multi floor parking lot)
  2. All cars are of the same size and slots in the parking lot also has the same size
  3. Each car has unique registration number and has a unique driver
  4. We will proceed to next command if the current given command is invalid