How can you catch a key input? I mean you've got a menu, 1. New Game, 2. Exit Game and you get to choose 1 or 2. I only know how to make it with the cin but I kinda want it on KeyPress, not type a number and press enter, just press the key and an action happens.