delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/29/13:14:51

Date: Wed, 29 Jun 1994 19:04:49 GMT+0200
From: IBBT0 AT cc DOT uab DOT es
Subject: Help about fflush(stdin);
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Universitat Autonoma de Barcelona

I need to clear the keyboard input from any previous input using only
ANSI-C functions. When I use TurboC or Microsoft-C the following sentence
works fine:
        
        fflush (stdin);

but GCC seems to ignore this sentence. 

Can you help me?

Thank you very much!!



Xavier Pons

IBBT0 AT cc DOT uab DOT es

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019