34 posts
Posted 13 June 2013 - 03:21 PM
it so that it remember for Example i am makeing an os and i now how to make a username and password locking system but i am makeing one where they choose the username and password they want inside the program how do i make it so that it remember for Example password = test the problem is when the computer turns off and back on it will not remember that password = test.
1522 posts
Location
The Netherlands
Posted 13 June 2013 - 03:34 PM
It took me a while to read what you actually wanted. Please try to format sentences next time to make yourself more understandable.
You want to save the username and password in a file. On how to do that, you can check
this tutorialHowever, it is not save to store the password in plain text, use
this hashing function to make your OS more secure.
767 posts
Posted 13 June 2013 - 03:34 PM
just save the configuration into a file, and then load the file on startup :D/>