can some on help me to hide the input..
like for example a user would have to choose from the choices but his input will not be shown in the screen.. i try getline but it doesn't work.. by the way,, i'm using c++
Well, first of all, that is Windows-only code. Just so you know as this site also has a lot of *nix programmers.
Second, the thing is rather simple, hopefully:
1. Ask the Operating System (Windows) for the handle to the standard input.
2. Retrieve the current operation mode of this input stream.
3. Alter the operation mode by removing the bit that controls the echoing of data on input.
What is the return value of what?? There are 3 function calls there. The first one returns a handle, and the other two functions are documented in MSDN Online, along with their return values: