Char replace stuff
Hi all,
I'm developing a console app. What I want to do is to replace all the inputs from the keyboard (while using cin) with another char, for example '*' instead of the real pressed ones.
In other words I want to have the same effect as when you are typing your password.
Anyone know how to do it?
Thanks in advance
I'm developing a console app. What I want to do is to replace all the inputs from the keyboard (while using cin) with another char, for example '*' instead of the real pressed ones.
In other words I want to have the same effect as when you are typing your password.
Anyone know how to do it?
Thanks in advance

