I'm starting on writing a simple login program, and straight off I don't know how to make it so when the user enters in the password nothing appears (or asterisks). If I had to guess, I would think it is simply a flag that you set for the istream, but I'm not sure and haven't found anything
If you are using UNIX (I assume based on the forum), you should turn off character echo
in the terminal. Use tcsetattr to turn off the ECHO flag. Here's a sample program I wrote
years ago.