#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    2
    Rep Power
    0

    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
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    2
    Rep Power
    0
    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..

IMN logo majestic logo threadwatch logo seochat tools logo