Is this just a beginner exercise? If so, you can just save the password in a file as plain-text, and read it from the file when it's time to do the comparison.
If you want real password protection, it will be more complicated.
Is this just a beginner exercise? If so, you can just save the password in a file as plain-text, and read it from the file when it's time to do the comparison.
If you want real password protection, it will be more complicated.
Last edited by Matticus; 04-08-2016 at 08:12 AM.