|
-
Nov 11th, 2001, 09:42 PM
#1
Thread Starter
Frenzied Member
Capture key press - console app
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|