Date: Sun, 9 May 1999 14:50:49 -0400 Message-Id: <199905091850.OAA10286@envy.delorie.com> From: DJ Delorie To: eliz AT is DOT elta DOT co DOT il CC: djgpp-workers AT delorie DOT com In-reply-to: (message from Eli Zaretskii on Sun, 9 May 1999 12:15:54 +0300 (IDT)) Subject: Re: Quirky getch() (fwd) References: 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 Precedence: bulk > 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?