+ 3
🏆Challenge🏆:Taking input from user as ******** (display)just like we take password as input in form.How can I do this in C++?
I am trying to write a program which takes username and password as input in C++. I want that when user enters the username it will display regularly, when the user enters the password then instead of displaying the keys been pressed it will display *** and so on. So that any person sitting nearby the user when he is entering his password will not able to see the password on screen. I want something like this in C++ https://code.sololearn.com/Wq6GzFkDq4n2/?ref=app please help me how can I do this...........
2 Respostas
+ 4
https://code.sololearn.com/cWdP87cJRms7/?ref=app
Try this for Windows, in Code::Blocks or Visual Studio.
+ 3
thanks