reading a keystroke without stopping a loop.

Max Corbin mcorbin at oucsace.cs.OHIOU.EDU
Sat Jul 28 04:53:39 AEST 1990


Hi! can anyone out there send me some code that will do the following

Inside a loop it wont stop execution and wait for 
someone to enter a letter (such as getc)

Does this in Unix c      

I would like it if this fucntion could works as TurboC or MicrSoftC
command kbhit.

If someone can help me please mail suggestions or code to me since I
don't read this news group reguarly.

-- 
mcorbin at oucsace.cs.ohiou.edu		   +-----+---\ +-----+
CS559 at ouaccvmb.bitnet			   | | | | -- >|  ---+
"Flat possums never DIE!" -RoADkIll 	   +-+-+-+---/ +-----+



More information about the Comp.lang.c mailing list