Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to hide text in the console? 1

Status
Not open for further replies.

maur3r

Technical User
Aug 28, 2006
34
PL
I am trying to write a program which is going to ask all users for password. It will be a console application. I am curius if there exists a function which can modify output of a console in such way:
Code:
$./a.out
$Enter password
$******* /*We are entering f.ex tektips (7 letters) but on the screen we see 7 stars*/
Thanks in advance for any help.

Martin
 
You need to be precise about which OS and compiler.
All that I can make out at the moment is that it might be some flavour of unix.



--
 
My OS is Mandrake. I am not using separate compiler just standard gcc.

Martin
 
Thank you Salem. It helped a lot.


Martin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top