Go to file
2019-07-10 16:38:37 -03:00
headers added admin 2019-07-09 09:17:33 -03:00
thirdparty/SQLiteCpp ?? 2019-06-26 22:20:06 -03:00
.clang-format added telephone support 2019-07-08 17:57:09 -03:00
.gitignore Added gitignore and Devguide 2019-05-28 18:28:20 -03:00
Admin.cpp added admin 2019-07-09 09:17:33 -03:00
CMakeLists.txt fixed interfce.cpp/park(customer, vector<pspots>) 2019-07-10 05:48:42 -03:00
Customer.cpp fixed buffer thing in input 2019-07-08 18:31:10 -03:00
data.cpp added admin 2019-07-09 09:17:33 -03:00
Development Guidelines.md Revision of guidelines 2019-06-17 14:52:05 +00:00
encrypt.cpp added telephone support 2019-07-08 17:57:09 -03:00
graph.png Added include graph 2019-07-02 15:56:10 -03:00
Interface.cpp fixed interfce.cpp/park(customer, vector<pspots>) 2019-07-10 05:48:42 -03:00
main.cpp added admin 2019-07-09 09:17:33 -03:00
oldtest.db3 added telephone support 2019-07-08 17:57:09 -03:00
Park_spot.cpp added telephone support 2019-07-08 17:57:09 -03:00
Park_time.cpp added telephone support 2019-07-08 17:57:09 -03:00
Query.cpp added admin 2019-07-09 09:17:33 -03:00
readme.md add todo, fixed small things 2019-07-10 16:38:37 -03:00
test.db3 add todo, fixed small things 2019-07-10 16:38:37 -03:00

use

cmake -G "MinGW Makefiles" -S ./ -B ./build/
mingw32-make

to build the project. it will generate the .exe in /build/park.exe Or click the build icon in vscode shrugs

Parkmanne

A stroll in the park

#TODO

  1. fix password of admin(probably buffer of input cusing the problem)
  2. add adress to customer
  3. billing
  4. delete/edit admin

This is a graph of how everything is connected. If you need to add functionality that doesn't fall in any of these, and you're unsure of what to include, you can decide something like this:

Take my customer class for example. It needs to be able to save to db, so it needs data. It needs to modify and save park_time objects, so it needs those. It needs to encrypt and decrypt passwords. BUT since data already includes encrypt, it doesn't have to be encrypted. So customer includes those.

Another example is Parkspot. It needs information about both customers and save to the database. Since customer also includes data, i don't have to include it again.

Last example:

header includes