View Single Post
Old May 5th, 2007, 2:08 AM   #1
ZenOswyn
Newbie
 
Join Date: Nov 2006
Posts: 5
Rep Power: 0 ZenOswyn is on a distinguished road
Need help with user input

Hey all,
I'm making a small console game, and I'm looking for another way to get users input. I'm using the WASD keys to move a cursor on the screen, but the only way I know to get a users input is by using cin. As you can guess, having to press a direction key and then hit Enter is a bit time consuming on the users side and I was wondering if anyone can give me some help in finding another way to do this.

I know this can be accomplished using ncurses, and probably other libraries. But I'd really like to stick with the standard C++ libraries if possible.

Oswyn
ZenOswyn is offline   Reply With Quote