|
From: Michal M. <mi...@mo...> - 2004-09-12 17:02:37
|
Noorez Kassam wrote: > I asked a while ago about hiding passwords and someone suggested using > standard charater in by cin and then backspace on the character to hide > it but that seems awakward becuase then u would have to use the enter > key for each character and that would bring it down to the next line. Is > there a way to use in so that u don't need the enter key? IMHO no. But you can implement it using getch() from conio.h. You can also use getpass() from the CONIO 2.0 library: http://conio.sourceforge.net/ Regards, Michal |