Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!nctuccca.edu.tw!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!rain.fr!magic.fr!babel.magic.fr!ded From: Edouard CORREIA <ded@magic.fr> Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: C Programming Help Date: Wed, 24 Jul 1996 12:44:42 +0000 Organization: Magic OnLine Lines: 26 Message-ID: <Pine.BSI.3.93.960724124328.254f-100000@babel.magic.fr> References: <Edina1996Jul23.202436.23721@news3.idirect.com.compulink.com> NNTP-Posting-Host: babel.magic.fr Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: Peter Pohlmann <peter@e-partner.com> In-Reply-To: <Edina1996Jul23.202436.23721@news3.idirect.com.compulink.com> > Date: 24 Jul 96 00:24:36 UTC > From: Peter Pohlmann <peter@e-partner.com> > Newsgroups: comp.unix.bsd.bsdi.misc > Subject: C Programming Help > > Hello there, > > i just got bsd 2.01. I have a small question: > > > Programming the following code does not show anything on the screen, > why?? > > #include <stdio.h> > > main() > > { > printf(Hello Test"); > } implicit exit does not flush any pending output so correct your program in this way: > printf(Hello Test\n");