- First of all download this project in your local system and extract the files. Below are details how you can do that:
- Click on this green color
Code
Button.
- In dropdown menu please select
Download ZIP
option.
- After downloading
ZIP File
please unzip it.
-
Now please open
Project_Flies
folder in your favourite code editor likeVS Code
or you can open in any other editor. -
After that your code editor should look like below :
- I hope you have followed all above steps carefully. Now you have to change certain things before running this project.
- Firstly open
main.cpp
file and it should look like this.
- Now you have to make changes in line number 5, 6 and 115.
- In line numnber 5 copy the path of
adminLogin.h
file and paste that path in between double quotes""
. Please make sure that you should not give any other extra spaces in between double quotes. - For copying path of
adminLogin.h
file, just right click onadminLogin.h
file which is located ininclude
folder and paste it in line number 5.
- Now in line numnber 6 copy the path of
facultyLogin.h
file and paste that path in between double quotes""
. Please make sure that you should not give any other extra spaces in between double quotes. - For copying path of
facultyLogin.h
file, just right click onfacultyLogin.h
file which is also located ininclude
folder and paste it in line number 6.
- Now in line numnber 115 copy the path of
facultyLogin.csv
file and paste that path in between double quotes""
. Please make sure that you should not give any other extra spaces in between double quotes. - For copying path of
facultyLogin.csv
file, just right click onfacultyLogin.csv
file which is located indata
folder and paste it in line number 115.
- Open
adminLogin.h
file. - Now you have to make changes in line number 205, 231, 243, 310, 356, 362, 408.
- I hope you have understood that how you can copy the path of any file. If not please refer above images for better understanding.
- Now copy the path of
schedule.csv
file which is located indata
folder and paste it in line numbers 205, 231, 243, 310, 356 and 408. - Next copy the path of
trainerallotment.csv
file which is also located indata
folder and paste it in line number 362.
- Open
facultyLogin.h
file. - Now you have to make changes in line number 37.
- So, copy the path of
trainerallotment.csv
file which is located indata
folder and paste it in line number 37. - Finally you have made the all changes in above files. Now Let's discuss how you gonna run this project successfully.
- For running this project just run the
main.cpp
file and it will redirect you toHomepage
of Training Schedule Management project and it will give you 3 options :
- Admin Login
- For admin login you can use predefined username and password i,e, Username : admin and Password : 12345.
- After login successfully, it will give you access of all operations that an admin can perform.
Note: If an admin enters wrong username and password 3 times consecutively then the program will automatically stops and shows ACCESS DENIED
message to an admin.
- Faculty Login
- For faculty login you can use predefined username and password which is already given in
facultyLogin.csv
file. - After login successfully, it will give you access of all operations that a faculty can perform.
Note: Just like admin if a faculty also enters wrong username and password 3 times consecutively then the program will automatically stops and shows ACCESS DENIED
message to faculty.
- Exit
- This option allows an user to exit from the program completely.
- So, after following all above given instructions, still you are facing some difficulties/issues then feel free to reach out to me or just open an issue in this repository and I'll definately get back to you.