Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Derek Cole <coleda@gemini.tuns.ca>
Subject: REQ: Some help with C code
Date: 1998/02/05	[thread overview]
Message-ID: <34D9C967.167E@gemini.tuns.ca> (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



                 reply	other threads:[~1998-02-05  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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