Mail Archives: djgpp-workers/1998/08/06/03:03:57
On Wed, 5 Aug 1998, Carlos Eduardo Dantas de Menezes wrote:
> I am having some problems with an earlier version (about 1 year
> old) of DJGPP and I would like to know if this bug was corrected
> in latest version.
> It is related with input/output stream: when I mix a function
> like getc (conio.h) with scanf, the behavior of input stream is
> uncommon - sometimes, one scanf command is ignored - and
> fflush(stdin) doesn't works!
This is not a bug, and therefore it will not be corrected. You need
to avoid mixing conio functions with buffered I/O functions. For
example, instead of `scanf', use `cgets' and then `sscanf'.
- Raw text -