From: "Ilya P. Ryzhenkov" Newsgroups: comp.os.msdos.djgpp Subject: Re: (possible) printf bug Date: Sat, 14 Dec 1996 14:36:27 -0800 Organization: Institute of Semiconductor Physics Lines: 11 Distribution: world Message-ID: <32B32BEB.34CD@spy.isp.nsc.ru> References: <01bbe56f$dd5b4f60$666fd9ce AT scully> Reply-To: ilya AT spy DOT isp DOT nsc DOT ru NNTP-Posting-Host: arab.isp.nsc.ru Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Cephaler wrote: > Do I have to flush stdout or something? In bc 3.1 it worked fine. Yes, use fflush(stdout) after printf. After printing '\n' stdout is flushed automaticaly. -- Sincerely yours, Ilya ----------------------------------------------------------------------------- mailto://ilya AT spy DOT isp DOT nsc DOT ru http://spy.isp.nsc.ru