Key press
how can i make an action on pressing one key?
not saying "case"s what i''m saying is only pressing without pressing the "enter"
in C++ try GetAsyncKeyState(VK_*);
where VK_* is the key you want to check for ie
VK_ESC is the escape key, VK_RIGHT is the right arrow key, "A" is the A Key, and so on
Neil
WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!
where VK_* is the key you want to check for ie
VK_ESC is the escape key, VK_RIGHT is the right arrow key, "A" is the A Key, and so on
Neil
WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!
WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!
February 01, 2003 09:12 PM
you just want something to happen upon any key being pressed? (same concept as the "Press any key to continue..." message?)
there''s always getch() in that case
there''s always getch() in that case
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement