C++: How to hide user input?

Like:
1
2
3
string pass;
cout << "Enter your password: ";
cin >> pass;


How to make it not display what pass is?
Thank You in advance!
Topic archived. No new replies allowed.