www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/08/06/03:03:57

Date: Thu, 6 Aug 1998 09:58:13 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Carlos Eduardo Dantas de Menezes <menezes AT lsi DOT usp DOT br>
cc: djgpp-workers AT delorie DOT com, Vik DOT Heyndrickx AT rug DOT ac DOT be
Subject: Re: your mail
In-Reply-To: <Pine.LNX.3.96.980805194422.1773A-100000@apolo.lsi.usp.br>
Message-ID: <Pine.SUN.3.91.980806095746.15220I-100000@is>
MIME-Version: 1.0

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 -


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