ANy one knows equivalent function of [ kbhit() ] which in Turbo C.
I want to Execute Certain loop until any key is pressed.
i.e while(!kbhit)
{
----------
----------
}
This code work fine in DOS but NOt in LINUX
i try to use [ getc_unblocked(stdin) ] but not getting the expected result
Waiting for Reply
Cheers
Nirav