From: locke AT mcs DOT net (Peter Johnson) Newsgroups: comp.os.msdos.djgpp Subject: Re: Ghosts in DJGPP :-) Date: Tue, 28 Jan 1997 01:06:01 GMT Organization: BiLogic Lines: 20 Message-ID: <32ed50d0.3588309@news> References: <32ED747F DOT 70BD AT fi DOT muni DOT cz> Reply-To: locke AT mcs DOT net NNTP-Posting-Host: locke.pr.mcs.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 -------------------------------------