Use select or poll (I prefer poll personally, but they both work)
--Nick
On Sat, 8 Jun 2002, John (EBo) David wrote:
>
> sorry for the simple programing question. I've done this before and
> spaced how.
>
> I need to check if there is input in the standard input in both C and
> C++. If there is then processit, otherwise keep on going.
>
> can someone hit me with a clue stick?
>
> EBo --
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>