www.delorie.com/archives/browse.cgi | search |
Date: | Thu, 13 May 1999 16:08:02 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Wigoo <suk20um AT axpsu DOT fpf DOT slu DOT cz> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Source Code |
In-Reply-To: | <199905122101.RAA18558@delorie.com> |
Message-ID: | <Pine.SUN.3.91.990513160655.12629O-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |