Date: Tue, 28 Jan 1997 09:16:30 -0500 (EST) From: Nikita Proskourine To: xlysak cc: djgpp AT delorie DOT com Subject: Re: Ghosts in DJGPP :-) In-Reply-To: <32ED747F.70BD@fi.muni.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 28 Jan 1997, 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. In GCC standard input/output is buffered. So there's a chance of not having something printed at the right time. Try flushing the buffer after each printf with fflush(stdout); /* or something like that, don't have ref. on this computer */ -- Nikita.