Printing Asterisks Horizontally with user input

Oct 1, 2014 at 12:45pm
I want to write a code that takes user input and prints out asterisks horizontally matching with their input. I am clueless where to start. Any help would be great
Oct 1, 2014 at 2:31pm
Basically, get the input of the user, count it, then print out that number of asterisks.
Oct 1, 2014 at 2:49pm
I think he meant as he types the password in, rather than echoing the letter to cout, it prints an asterisk instead.

I've been looking for solutions, it seems getch() is the way to go as it reads the scan code from the keyboard without echoing it to cout.
Oct 1, 2014 at 2:59pm
This sort of thing is platform-specific.
http://www.cplusplus.com/articles/E6vU7k9E/
Topic archived. No new replies allowed.