Can someone tell me how I can get a single character input from the keyboard, without needing to press enter? I want to get i/p from the arrow keys.
Printable View
Can someone tell me how I can get a single character input from the keyboard, without needing to press enter? I want to get i/p from the arrow keys.
Which platform? There is no standard way.
XP. Using Visual C++ Express, Win32 Console Application.
Oh you mean like the one in the FAQ?
http://faq.cprogramming.com/cgi-bin/...&id=1043284392
Yes, just like that one. It wouldn't be a FAQ if no body asked it now would it :pQuote:
Originally Posted by Salem
But that's exactly why there is a FAQ, someone already asked. So check and see what was already asked.Quote:
Yes, just like that one. It wouldn't be a FAQ if no body asked it now would it
:p
Do you know how many C++ faqs there are on the web. If I'd had known which one the answer I was looking for I would have read it.
I'm greatful for the pointer to this one. Thanks Salem.