Quote:
Originally Posted by xpi0t0s View Post
You need to use a function that returns VK_ values, such as GetKeyState. gets is not one of those functions so you cannot use it for what you want to do.
Exactly. But if u want, you can write something like
Code:
if(GetKeyState(VK_PRIOR))
{printf("you pressed %s", string);}
else if (GetKeyState(VK_F5))
{etc.....}
It's only pseudocode...