In this project is program that manage Persons in different categories, such as:
- Pupil
- Student
- Student - Employee
All is working fine. Send ideas here that is need to add in code.
-
Added using namespace std and rewritten program.
-
Also fixed the infinite bug in swithching, by converting the string to int, but not directly a sensitive int.
-
Added aligning in the program for a little more orienting. Example here.
-
Removed using namespace std and rewritten program.
-
Added coloured text for orienting.
Warning: It works only in bash, in another words only for Linux and Mac users. Unluck for Windows users ๐๐. -
Decided not to add multi-threading, because the program isn't so complex yet.
-
Tested on KDE Neon 5.18.5 - works fine.
- Little aligning in the output
- Send ideas here (gmail is here).
-
All program was separated in more files:
-
main.cpp - the executable part
-
commands.h - contains only "calls" of functions
-
commands.cpp - contains the functions declared in previous file
-
class_file_1.cpp - contains the class in reference to Person
-
class_file_2.cpp - contains the class in reference to Pupil
-
class_file_3.cpp - contains the class in reference to Student
-
class_file_3.cpp - contains the class in reference to Student - Employee
-
-
Little optimization:
- Removed constructor from Input_info