Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Using (s)printf()

by trvth (Initiate)
on May 29, 2012 at 21:17 UTC ( #973126=note: print w/ replies, xml ) Need Help??

in reply to Using (s)printf()

Under "Format Specifiers" I see "printf(*quot;%+d", 7);" -- it looks like that leading asterisk "*" should be an ampersand "&" so that the double quote character will be displayed instead of "*quot;"

Comment on Re: Using (s)printf()
Replies are listed 'Best First'.
Re^2: Using (s)printf()
by toolic (Bishop) on May 29, 2012 at 23:38 UTC
    printf(*quot;%+d", 7); # prints '+7'

    should be:

    printf("%+d", 7); # prints '+7'

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973126]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2015-11-25 17:20 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (683 votes), past polls