Date: Thu, 13 May 1999 16:08:02 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Wigoo cc: djgpp AT delorie DOT com Subject: Re: Source Code In-Reply-To: <199905122101.RAA18558@delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 12 May 1999, Wigoo wrote: > I`m programming beginner and strange things happend to me, when I want to > write something to screen using printf I have to use \n at the end of the > line because without it the string will be shown at the end of the program. This is how it's supposed to work: stdout is line-buffered. If you are using DJGPP v2.01, upgrade to v2.02 where printf outputs the line even without the newline.