Mail Archives: djgpp/1997/01/28/17:47:11
Peter Johnson wrote:
>
> On Tue, 28 Jan 1997 03:37:35 GMT, xlysak <xlysak AT fi DOT muni DOT cz> 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.
- Raw text -