I was wondering if anyone knew of a way to hide the input when the user enters it, such as when you enter a password on the internet, and the stars appear instead of the keys you are typing. In a (rather simple) game program that I was writing, (somewhat similiar to Rock Paper Scissors you could say), player one would enter his/her play, and that play would be shown on the screen when he/she typed it in (it was not being couted, just being shown on the screen when entered), and as of such, player two would have an unfair advantage when playing and choosing their own play. So, does anyone have a way in C++ Programming that one could hide input in the above needed way? Thanks!



LinkBack URL
About LinkBacks



Have a nice day.