password masking help

Mar 24, 2016 at 9:31am
string pass="secret";

cout<<"Enter Password:";
cin>>pass;
cout<<"\n";

while(pass=="secret")

i need to asterisk the password
Mar 24, 2016 at 1:20pm
I searched the forum for "password masking" and this was the first thread to come up:
http://www.cplusplus.com/forum/general/3766/
Topic archived. No new replies allowed.