peeking into stdin (programing question)

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: plug-discuss@lists.plug.phoenix.az.us
Date:  
Sujet: peeking into stdin (programing question)
Not sure but try kbhit() returns true if something is waiting.

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