What is the code to make it so when you enter a string it prints asteriks(*) on to the screen?:confused:
Printable View
What is the code to make it so when you enter a string it prints asteriks(*) on to the screen?:confused:
use getch and putch for input/ouput
Or do a search for the ques, it has been asked millions of times.
Pseudo code:
C = getch ();
If C is not backspace or return, display ESC
else if
C is backspace : go back 1 space, delete last char from array
else if
C is return : end input loop
thanks for the replies.