Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819202122232425262728293031323334
  1. #### __* Currently not working as intended__
  2. #### __* Work in progress__
  3. # Bus Ticket Management System
  4. This program is written solely on personal time with the purpose to pick up the C++ programming language once again after a long long time since I last wrote anything with it.
  5. The original version of this program (as seen in the initial commit) was a version of my work years ago. I decided that starting from scratch might not be the best idea when it comes to a programming language that I haven't use for a long time. However, as years pass, there are different things that I've learn from other programming languages that I thought would be fun to see how that implementation works with C++ so it will eventually be very much different from what it was.
  6. Thank you for your time in reading this. I sure hope someone would find this useful in someway someday.
  7. ## LogInSystem.cpp
  8. ### Person getUser(string);
  9. This function will take in a string parameter that will be used to searched for a matching username in the users vector.
  10. ### Person getUser(int);
  11. This function will take in an int parameter that will be used to searched for a matching id in the users vector.
  12. ### void login();
  13. ### void loggedIn(Person);
  14. This function takes in a Person parameter after the user has logged in as that identity. It provides the user options to display and modify the information of that specific identity in the database (vector).
  15. ### Person registration();
  16. This function request all the required information from the user to register for a new account and add them into the users vector.
  17. ### Person editCredentials(Person);
  18. This function will take in a Person parameter and make edit to it according to the user's intention. It will then return the updated Person to the caller.
  19. ### void update(Person);
  20. This function will take in a Person parameter that is to be updated into the users vector. It will search for the Person in the vector with matching ID and replace it.
  21. ## Person.hpp / Person.cpp