I am writing a program, console not Windows application, where a password has to be entered and then confirmed. I do not want the user's password to be displayed while it is being entered. In other words when the user enters the character, say, R I wish X to be shown on the screen. How can I go about coding this? I would be very grateful for all help.