Question: C + + : Notate and read carefully do NOT forget about Deleting password or changing password option in menu Change password application. USE CLASSES

C++: Notate and read carefully do NOT forget about Deleting password or changing password option in menu
Change password application. USE CLASSES to implement this application.
As minimum you must create the following classes:
Database.h. This class stores all approved passwords and users. It consists of pairs (password, users). You may use a map from the STL library as a substitute for this class. Here users refer to a username with a length of maximum 25 characters.
Loging.h. This class manages all the activities dealing with login.
Password.h. This class deal with the details of password requirements.
Menu.h. The application starts by asking the user for a username.
Then, the program displays the following menu:
Main menu
1.) Login
2.) Create password
3.) Change password
4.) Delete User
5.) Exit
If a user has a password the user can log in. Otherwise a password must be created. Having a password means that the pair (password, username) exist in the database. Otherwise, the password, username pair does not exist in the database.
Once a user has a password the user can log in. Show a message of welcome after confirming the user is in the database. After that return to the main menu.
If the user is not in the database,the user must create a password first. Otherwise the user cannot change password, delete a user, or login.
To change a password, the user must be in the database. I.e., Once the user select option 3, from the menu, a password will be required and only if the user is found in the database a password change is allowed. Clearly show this process in your lab report.
Once the user finished changing the password the program should return to main menu. Demonstrate that the user can log in with the new password.
A user can only delete itself. To do that it must provide a password after selecting the option 4. Once the user enters the proper password the record will be deleted and the program returns to main menu. Display a message to the user, You have been erased, upon record deletion.
Password requirements: Minimum password length 6 characters. Require at least one: Uppercase and lowercase letter (A, z). Numeric Character (0-9). Special character (@,#,&,*,!,etc.)
FOLLOW THE DIRECTIONS DIRECTLY, EXACTLY AND COMPLETELY, SHOW COMMENTS IN THE CODE, TEST THE CODE SO THAT IT WORKS PROPERLY, AND SHOW THE OUTPUT TO PROVE THAT IT WORKS. MAKE SURE THAT THE MENU HAS THE 5 OPTIONS AS SHOWN AND ALL 4 REQUIRED CLASSES ARE USED

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!