How to use sprintf

Vladimir Panteleev vladimir at thecybershadow.net
Mon Apr 25 07:56:26 PDT 2011


On Mon, 25 Apr 2011 17:19:12 +0300, Steven Schveighoffer  
<schveiguy at yahoo.com> wrote:

> The problem the OP has is he is casting buffer to a char *.  He should  
> just use buffer.ptr.

Casting a string to char* is exactly the same as using the .ptr property,  
as far as generated code is concerned.

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list