Parking Lot Design Program made in C++
Note : The Program is compatible with C++ 11 or higher , Please make sure you are using C++ 11 or higher.
Install Git on your system before doing anything, Follow the link : https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
Step 0 : Clone the repository using git clone https://github.com/namanvats/Parking-Lot-Design.git
sudo apt-get update
sudo apt-get install GCC
sudo apt-get install build-essential
g++ --version
Move to the source folder of cloned repository of parking-lot, which contain "parking.cpp"
g++ parking.cpp -o park
./park
Alternatively you can also install Code::Blocks on Ubuntu using steps on this link: https://www.youtube.com/watch?v=BTFxoYXmTY0
There are lots of IDE available for windows operating system which you can use to work easily with C++ programming language. One of the popular IDE is Code::Blocks. Visit : http://www.codeblocks.org/downloads/26
Move to the source folder of cloned repository of parking-lot, which contain "parking.cpp"
Open the File in Codeblocks
Provide input in "input.txt"
Now Compile and Execute.
You can see output in the "output.txt" file.
Mac OS X Installation: If you are a Mac user,you have to download Xcode. To download Xcode you have to visit the apple website or you can search it on apple app store. You may follow the link developer.apple.com/technologies/tools/ to download Xcode. You will find all the necessary install instructions there, or use this https://www.youtube.com/watch?v=OlKWja-2izk
or You can install VScode on MacOS as well, follow steps here : https://www.youtube.com/watch?v=KhGnYWplLVo
After successfully installing Xcode, open the Xcode application.
Open the Source Folder of the project as project in Xcode.
Provide input in "input.txt"
Now Compile the parking.cpp file
Build and Run the parking.cpp file
You can see output in the "output.txt" file.