|
-
Oct 22nd, 2003, 05:19 AM
#1
Thread Starter
Fanatic Member
#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
sql_lall 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|