Jan Winnicki wrote:
i'm making console app, and its main menu looks like this:
Main menu
Option 1
Option 2
Option 3
user should hit eg 1 on keyboard to choose Option 1 etc
the question is:
what should i use instead of cin, because i dont want users to hit ENTER
after hitting eg 1
There is no answer to your question in terms of the Standard C++ (the only
subject of this newsgroup) because Standard C++ has _no_means_ of keyboard
control. You need to ask in a newsgroup for your OS.
BTW, your question is kind of covered by the FAQ (see section 15). Please
read the FAQ before (or instead of) posting lame qstns.
V