Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I was wondering how I can make a password check for a file. I mean how do I get a program to request a password to open a program such as a quiz game or a file full of addresses.
I can get it to ask for the password using the INPUT command but I can't get it to restrict access if the passwords is incorrect. I know that I will have to put all of the passwords in to the QBasic file but how do I make it check and restrict access?
I would kindly appreciate any help you can offer me.