A silly project recreating what would be needed to handle the basics
of French driver licence point handling
|
||
---|---|---|
.gitignore | ||
CMakeLists.txt | ||
create.cpp | ||
db_info.h | ||
LicenceOperations.cpp | ||
LicenceOperations.h | ||
main.cpp | ||
README.md |
AutoPointsPermis
A silly project recreating what would be needed to handle the basics of French driver licence point handling
Usage
This project builds two executables. One creates and fills the database with licences and offences, the other is there to simulate daily checks to see if points need to be awarded back.
Building
Dependencies
- Sqlite3
Improvements
Currently, everything uses very naive SQL querying, with the main optimisation being batching. There is certainly smarter ways to go about it and some ways to make it run faster.
The daily program could be improved to be a server of sorts, allowing the manipulation of the database in a controlled fashion. (Telnet ?)
Maybe test with another DB ?