i need to input a password but it should be printed as a special character..how can i possibly do that? thanks in advance for the answer and im sorry for the disturbance..im just starting studying this kinds of stuff..again..thank you in advance..good day..
s-a-n-d-e
0
Newbie Poster
Recommended Answers
Jump to PostIn general you need to write your own input mechanism that reads a character without echoing and prints a suitable mask character as a manual echo. C++ doesn't support raw input like that, so you'll have to drop to a non-portable solution such as getch:
#include <iostream> …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.