help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] gst_string_to_oop with local string


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] gst_string_to_oop with local string
Date: Wed, 11 Nov 2009 22:47:44 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4

On 11/11/2009 08:13 PM, Roland Plüss wrote:
Another solution would be "sprintf(&buffer[0], ... )"
which is again valid since&buffer[0] is of type "char*".

&buffer[0] is exactly the same as buffer... the equivalence between pointers and arrays is quite basic C and C++, try it. :-)

Glad that you got it working anyway.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]