*BSD News Article 75047


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!uknet!yacc.co.uk!chris
From: chris@yacc.co.uk (Chris Davies)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: C Programming Help
Date: 30 Jul 1996 15:08:41 GMT
Organization: yacc labs, Leeds, UK
Lines: 17
Message-ID: <4tl8hp$2rp@incy-wincy.yacc.co.uk>
References: <Edina1996Jul23.202436.23721@news3.idirect.com.compulink.com> <01bb7d80$a9549840$6400e0c3@labrys.sonnet.co.uk>
NNTP-Posting-Host: fergie.yacc.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Chris Harper (clh@sonnet.co.uk) wrote:
: > Programming the following code does not show anything on the screen, 
: > why??
: > 

: You need to provide a format string, try -
:  
: 	printf("%s", "Hello world");

The actual problem was that the person wasn't actually running
their own program (they'd called it "test.c", and '.' was either
at the end of the path or not there at all).  However, since they've
not come back to me I presume they're happy now.

Chris
--
yacc Labs, Leeds, UK.  (tel +44 113 287-2381, email chris.davies@yacc.co.uk)