I am looking to make a program which first asks user to login. like
1. Already having an account
2. Create new account
If user has already have account then it asks for username and password.
It will check username, password entered correct or not.
If username is wrong then it display
Username not found
1. Retry
2. Create new account
And if password is wrong then
Wrong password
1. Retry
2. Relogin with another username
3. Create new account
If "create new account"
then it asks to enter new username and password and save that file name same as its username in .dat format.
If possible then save that file in "My Documents" folder
I've created the program but it is not working properly.