Create a simple login and signup form in which the user should choose if he wants to login or signup at the beginning.
Signup:
In which a user enters user name, id and date of birth in a binary file and checks if the id already exists it gives an error(because id can’t be duplicated) and if not it writes the name, id and age of the user in the binary file( it calculates the age of the user).
Login:
The user should enter the username and ID and if the ID exists in the file then the program should print “login successful” and displays the whole info about user, otherwise it should print “Wrong id! Try again”
sarahmohamed97 0 Newbie Poster
rproffitt 2,662 "Nothing to see here." Moderator
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.