An open API service indexing awesome lists of open source software.

https://github.com/sathiypriyan/toll-transaction-simulator

C++17 project simulating a toll plaza system. Reads vehicle data, applies toll rules, stores transactions in SQLite, and generates summary reports. Demonstrates modern C++ with STL, OOP, and database integration.
https://github.com/sathiypriyan/toll-transaction-simulator

cpp17 oop sqlite system-simulation

Last synced: 28 days ago
JSON representation

C++17 project simulating a toll plaza system. Reads vehicle data, applies toll rules, stores transactions in SQLite, and generates summary reports. Demonstrates modern C++ with STL, OOP, and database integration.

Awesome Lists containing this project

README

          

# Toll Transaction Simulator (C++17)

This project simulates a toll plaza system:
- Reads vehicle entries from a file
- Calculates toll fees
- Stores transactions in SQLite
- Generates summary reports

## Build & Run
```bash
mkdir build && cd build
cmake ..
make
./TollSimulator

Sample Input:
TN01CAR123 car
TN09TRK789 truck

Sample Output:
--- Toll Report ---
Type: car | Vehicles: 2 | Total: 100
Type: truck | Vehicles: 1 | Total: 100