August 17th, 2003, 04:36 PM
How do I read in user input like this?
My problem that I can't seem to get round is that I would like to ask a user for input and then react upon their keypress, so they don't have to press enter every time...
I am an extreme newbie at this, and I did search for this kind of topic before hand, but I can't find anything, here or even in a book..
Can anyone please help?
Any more info required just ask
August 17th, 2003, 05:14 PM
Just as an addition, I have so far found that it should work by using the commands "kbhit()" and "getch()" but i am not so sure as to how i should use them..