This project is a simple vehicle tracking system implemented in C++ that allows users to add, remove, list, and display details of different types of vehicles. The program reads vehicle details from a file and provides a user-friendly interface for interacting with the data.
- C++ compiler (g++)
- CMake (for building Catch2 tests)
- Catch2 (testing)
-
Clone the repository to your local machine:
git clone https://github.com/derecklhw/vehicle_tracking_system.git
-
Compile the executable and test program using the provided Makefile:
make all & make test
This will create two executables:
executefor the main program andtestingfor running tests.
Run the main program:
./execute <filename>Replace <filename> with the name of the file containing vehicle details. The program will load the vehicle details from the file and present a main menu for different operations.
The project includes tests using Catch2. To run the tests, use the following command:
./testing