Making a password protected program

closed account (jwkNwA7f)
I am making a password protected program. How can I make each character typed an '*'. I also would like to make it where only my program can access the file where the password is stored.

Thank you!
closed account (Dy7SLyTq)
http://www.cplusplus.com/articles/E6vU7k9E/
closed account (jwkNwA7f)
Would encrypting the file make it where only my program can read it?

If it is, how can I do it?
Topic archived. No new replies allowed.