peeking into stdin (programing question)

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: plug-discuss@lists.plug.phoenix.az.us
Datum:  
Onderwerp: peeking into stdin (programing question)
Not sure but try kbhit() returns true if something is waiting.

       if(kbhit())
             {
             c=getch();
             ...
             }