peeking into stdin (programing question)

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: John (EBo) David
Dato:  
Emne: peeking into stdin (programing question)
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 --