From: sl AT psycode DOT com (sl) Message-ID: To: "djgpp AT delorie DOT com" Date: Thu, 12 Nov 1998 18:53:07 -0500 (EST) X-Newsreader: PMINews 2.00.1205 For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: gcc v281 bug? Reply-To: djgpp AT delorie DOT com On Thu, 12 Nov 1998 09:47:11 +0200 (IST), Eli Zaretskii wrote: >Your expectations are wrong. `putch' uses direct screen writes to the >video memory of your SVGA, whereas `printf' buffers its output and >doesn't actually deliver it to the screen until the buffer is flushed. >(In your cases, it is flushed when your program exits.) Speaking of which, under the new C++ standard many buffer-dependant commands are now required to flush all output when attempting to input something from the other (in order to make sure that the prompt is displayed before input is expected.) Makes perfect sense to me, I'm just wondering why no one has done this in the first place. We don't need a standard to tell us what makes perfect sense. Is this expected to be handled by the next GCC release? Gili