Is there a simple way of capturing a key press within a console app.
At the moment i'm doing this:
cout << "press any key to continue";
cin >> x;
but that looks messy as they first have to press a key, which is displayed after press any key to continue, and they then have to press enter/return aswell.
Cheers.
