Message-ID: <35E4E7EF.CF07B3F4@post.comstar.ru> Date: Thu, 27 Aug 1998 09:00:31 +0400 From: Dim Zegebart Reply-To: zager AT post DOT comstar DOT ru Organization: Comstar Ltd. MIME-Version: 1.0 To: "Thomas J. Hruska" CC: djgpp AT delorie DOT com Subject: Re: Display question... References: <3 DOT 0 DOT 5 DOT 16 DOT 19980827002417 DOT 0cbf3f84 AT mail DOT tir DOT com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Precedence: bulk Thomas J. Hruska wrote: > printf("Hello World!"); > > It won't print anything to the screen until either the program is finished > or until a newline character is printed. Since DJGPP has UNIX ancestor it has some UNIX features too. So, in UNIXall streams (stdout is a stream) are buffered and behave exactly as you describe. So, my suggestion is place '\n' at the end of each printfed line or do fflush(stdout) -- Dim Zegebart Moscow, Russia