Look at kbhit()
. With that, getch()
, and a timer you can do what you need.
WildBamaBoy commented: Good eye! +1
Intrade commented: I was thinking that too, but he specified different (and misunderstood) requirements XD +0
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
csurfer commented: Daniweb described in simplest words :) +2
NathanOliver commented: thanks +2
N1GHTS commented: I admire your simple yet effective method of solving problems. +1
tux4life commented: Yes. +8
Nick Evan commented: :D +12
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Ancient Dragon commented: Absolutely right. +28
jonsca commented: Dang WaltP you are just too mulitfaceted :) +0
BestJewSinceJC commented: Your breakdown of respect = genius! +0
Nick Evan commented: Testing? What's that? ;) +0
Aia commented: Less is more, sometimes. +0
diafol commented: Agree too +0
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
tux4life commented: I too was thinking that there's no standard way to do it, I just didn't dare to post it :$ +8
iamthwee commented: Totally right about the quote situation. No mouseovers or clicks! +0
jephthah commented: thanks for demonstrating the rollover quote box "feature" +0
Nick Evan commented: :) +0
Salem commented: LOL - it made my eyes bleed +20
Salem commented: Nice +20
VernonDozier commented: They should pin your formatting thread to the top of the C++ section. +11
BestJewSinceJC commented: Good help to the OP +5
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague