for my gaming technique... .i need one information
whts that is i want to get one character using getch(). but my problem is i want to get that character at an certain amount of time..... if it exeeds and the user doesnt press any key means.... it wil go to some other action. like tak it this an example...
int/char c;
c=getch(); this statement executed with in a period of some time...
if the user press any key meas then assign the value for c=10.
At that particular tim of period of tim if the user does not press any key means assign c=0;
Any one clarify my doubt plz.......