Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

C++ doubt...how to accept a name without displaying it in the screen...for example i want ...cin>>name....but i dont want that name to be displayed on the screen when the user is typing...

OpenStudy (anonymous):

@wolfe8 ....

OpenStudy (anonymous):

like....when the user enters his password....i want ****** to be displayed instead of the actual password

OpenStudy (wolfe8):

Ohhh that. Hmm I'll have to Google. I never used C++ before I used C and FORTRAN. Let me see.

OpenStudy (anonymous):

i got it just now.......we must use GETPASS ( ) function it seems......its a predefined function in C++ ,,,i came to know of it just now....:)

OpenStudy (wolfe8):

Yea that's what I read on here http://www.dreamincode.net/forums/topic/150860-replace-password-entry-with-asterisks/

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!