Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* REQ: Some help with C code
@ 1998-02-05  5:00 Derek Cole
  0 siblings, 0 replies; only message in thread
From: Derek Cole @ 1998-02-05  5:00 UTC (permalink / raw)



Hello All,

Here is what I would like to code up,

A function that works like getchar() but doesn't block if no key has
been pressed.

I have used the following with borland C/C++ 5 for DOS/Win

if(kbhit())
{
 c = getchar();

 // now quickly deal with the input

}

Is there an equlivant for a console style app under OSF/1 3.2a ??

Any and all help is appreciated...

Derek



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-02-05  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-05  5:00 REQ: Some help with C code Derek Cole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox