Can someone help me make a code for a username and password program where the usernameand pass is stored in a txt file.
I've tried many things but I still can't make it work.
The text file in question has the username password and user type separated by tabs and newlines
meuser mepassword Administrator
another pass2 Guest
I've been using fscanf but it doesn;t do anything after I input my user name and password.