How to get out * on the display - C++ 11

Hello everyone, I have been programming for a short time in C ++ and I'm looking for a way to create a program (very simple) that when I input something on the display something else comes out, such as when the password is entered on a page of login.
My current output is:

Enter your password: password
********
You're logged!

Instead I would like to have an output like this:
Enter your password: ********
You're logged!

I saw on the internet and found only the "conio.h" library but my C ++ 11 compiler does not detect it and gives me an error

Can you help me?
Topic archived. No new replies allowed.