delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/13/17:22:38

From: rdebelj AT wt DOT com DOT au (Robert Debeljakovic)
Newsgroups: comp.os.msdos.djgpp
Subject: [Q] Bug with printf?
Date: Wed, 13 Aug 97 12:05:00 GMT
Organization: Evolution Software
Lines: 20
Message-ID: <5ss8me$25j$1@kurica.wt.com.au>
NNTP-Posting-Host: dialup13.wt.com.au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi all,
I just started writing some test programs and I came across something...
If you use printf without a newline character in the string, it does print the 
test to the screen....

eg:
printf("hello\n");    gives me
hello

where as printf("hello");     gives me 
[nothing]

Any solutions?

I apoligise if this has been discussed over & over, I am new to this group as 
of today... 

Cheers,
Robert D.

- Raw text -


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