| delorie.com/archives/browse.cgi | search |
| From: | Edward_hill <ha AT nochance DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Source Code |
| Date: | Thu, 13 May 1999 09:49:24 +0100 |
| Organization: | GEC-Marconi |
| Lines: | 15 |
| Message-ID: | <373A9214.79D1581B@nochance.com> |
| References: | <199905122101 DOT RAA18558 AT delorie DOT com> |
| NNTP-Posting-Host: | pc02372.gmsws.gecm.com |
| Mime-Version: | 1.0 |
| X-Mailer: | Mozilla 4.51 [en] (Win95; I) |
| X-Accept-Language: | en |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
if you don't want the \n use fflush(stdout); just after the printf. This occurs because output is buffered. Ed 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. : Can you help me?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |