Date: Fri, 19 Sep 1997 02:37:30 -0400 (EDT) From: Patrick To: "Jason D. Chu" cc: djgpp AT delorie DOT com Subject: Re: Why? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Try adding fflsuh(stdout); just after the printf! cya, Patrick On Sun, 14 Sep 1997, Jason D. Chu wrote: > > O.K. I write a simple Hello World Program. > > #include > > main() > { > printf( "Hello World.\n" ); > getch(); > } > > and I compile using RHIDE. It runs and I have to push a key then it says > Hello World. and the program ends...Why does it do the getch() before the > printf()? > -- > "The path to victory is marked with the laws of Virtue, > not the commands of DOS." > > -- Lord British > --------------------------------------------------------------------------- Patrick email: url: Jenkins pjenki1 AT gl DOT umbc DOT edu http://www.gl.umbc.edu/~pjenki1 ---------------------------------------------------------------------------