delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/13/14:32:57

Date: Wed, 13 Aug 1997 20:33:35 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Subject: Re: [Q] Bug with printf?
To: rdebelj AT wt DOT com DOT au (Robert Debeljakovic)
Cc: djgpp AT delorie DOT com
Message-id: <01IMEK4XLDZM8WWOW2@mail>
Organization: RWTH Aachen, III. physikalisches Institut B
Newsgroups: comp.os.msdos.djgpp

In article <5ss8me$25j$1 AT kurica DOT wt DOT com DOT au> you wrote:
> where as printf("hello");     gives me 
> [nothing]

It doesn't give you "nothing", it just just doesn't write out the
string *immediately*. Get out your C book and read a bit about the
buffering of stdio functions. This is also described in the DJGPP FAQ,
chapter 9.4.

HBB

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019