www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/09/14:51:01

Date: Sun, 9 May 1999 14:50:49 -0400
Message-Id: <199905091850.OAA10286@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: eliz AT is DOT elta DOT co DOT il
CC: djgpp-workers AT delorie DOT com
In-reply-to: <Pine.SUN.3.91.990509121440.3278V-100000@is> (message from Eli
Zaretskii on Sun, 9 May 1999 12:15:54 +0300 (IDT))
Subject: Re: Quirky getch() (fwd)
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990509121440 DOT 3278V-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Given the forwarded message, should we add fflush(stdout+stderr) to 
> `getch', like we already did in `filbuf'?  Or would programs that use 
> `getch' hate us for flushing the streams for every input character?

First off, you shouldn't have to flush stderr - it should be
unbuffered.

Second, do the C++ streams use FILE* streams underneath?

- Raw text -


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