#include <windows.h> failure...KeyState
Hi
Just having a slight problem writing a simple Snake game (just in command view, with cout<< etc.
I have most of the game finished, but i got to trying to get input.
The game was working fine until i added GetAsyncKeyState, and added: #include <windows.h>. Then the game still compiled, just as soon as it opened it threw an error.
Any suggestions?
Is there any way i can get Keyboard input without using windows.h, and without having to wait for the input?
Thanks