the thing with this is when it hits getch(); the system pauses and waits for input
how do i meake it skip the input if no keys are being pressed?

or did i just bite off more then i can chew?

~Matty-Alan~

06-22-2007

MacGyver

You can't do this in plain vanilla C. You have to use non-portable methods to do this, some of which might be portable within an O/S family (ie. a Windows or a Unix/Linux manner).

06-22-2007

robwhit

you want a non-blocking operation. The C standard doesn't really have those. You'll have to use an OS API, which I'm guessing is more than you can chew right now. nonetheless, there are some win32 reference links in the windows programming board.