J
Jan Winnicki
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
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