peeking into stdin (programing question)

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: plug-discuss@lists.plug.phoenix.az.us
Fecha:  
Asunto: peeking into stdin (programing question)
Not sure but try kbhit() returns true if something is waiting.

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