Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a console application on UNIX in C++ where i need to enter the username and password. The constraint is that the password entered on console should be displayed as "******".

Can anyone please help me with the same?
Thanks in advance!!!
Posted

1 solution

An example can be found at cplusplus.com: Masking password input[^].
 
Share this answer
 
Comments
CPallini 17-Nov-14 4:03am    
5.
sovit agarwal 18-Nov-14 4:42am    
Thanks Jochen!!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900