How to hide the input? (Mark input with *)
1 2 3 4
|
string Password;
cout << "Type in your password: " << endl;
getline(cin, Password);
| |
How can i mark the Password in the console with * ?
(Please dont tell me to make it with char ;p, i want to know how to do it with string).
Topic archived. No new replies allowed.