Message-ID: <32EEAA8A.3BCD@dmv.com> Date: Tue, 28 Jan 1997 17:40:52 -0800 From: Pyro Technic Reply-To: invid AT dmv DOT com Organization: Happy 'N Snappy PC Repair MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Ghosts in DJGPP :-) References: <32ED747F DOT 70BD AT fi DOT muni DOT cz> <32ed50d0 DOT 3588309 AT news> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Peter Johnson wrote: > > On Tue, 28 Jan 1997 03:37:35 GMT, xlysak wrote: > > >Can someone help me ? > > > >In my program are two function - first is printf() and second is > >getch(), > >but - first is called getch() and then printf(). Ghosts in the GCC :-)? > >All examples showed bellow running correctly in Borland C++ 3.1. > You have to flush the output buffer. > > ------------------------------------- > Peter Johnson > ------------------------------------- > locke AT mcs DOT net > http://locke.home.ml.org > ------------------------------------- > Freelance C/C++/Pascal/Asm programmer > for DJGPP, Borland, and Watcom compilers > Member of BiLogic demo group > ------------------------------------- in C++ "cout << flush;" works nicely.