Hi,
I have a written a small program and I'd like it to be so that the user can create
a password and it will be the same next time you run the program. Sorry if this is
really simple but I'm quite new to this. Thank you for any advice or help.
Joe
Hi,
I have a written a small program and I'd like it to be so that the user can create
a password and it will be the same next time you run the program. Sorry if this is
really simple but I'm quite new to this. Thank you for any advice or help.
Joe
Last edited by Joewbarber; 03-21-2013 at 10:50 AM. Reason: Text on one line
The simplest way would be to save the password in a file.
(Read up on File IO in C++)
Once you have done that, you'd want to hash the password before saving it..so that it is not possible to read it by opening a text file.