The Dink Network

Reply to Re: sprintf is molesting

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
August 17th 2005, 12:56 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Neither.

If the value of damage is '114', then the value of crap is the array of characters '1', '1', '4', '\0'. It basically converts the integer value into a string.

I'm sure Merlin can come up with a better explanation.