cpString

testclick testclick2002 at yahoo.com
Tue Oct 29 13:36:55 EST 2002


Thanks for your suggestion.

 will it also affect the content and the length of the string if I use data()? I know c_str() and cc() won't. THanks

testclick

 

--- Kendy Kutzner wrote: > On 2002-10-29T08:54:45+0000, testclick wrote: > > click_chatter("hostname is %s", hostname.data()); > > Try using hostname.c_str() instead. The reason i > guess is that .data() > is not NULL-terminated, but click_chatter expects > this. > > Kendy > 



---------------------------------
Do you Yahoo!?
HotJobs - Search new jobs daily now
-------------- next part --------------
Thanks for your suggestion.
 will it also affect the content and the length of the string if I use data()? I know c_str() and cc() won't. THanks
testclick
 
--- Kendy Kutzner
wrote: > On 2002-10-29T08:54:45+0000, testclick wrote: > > click_chatter("hostname is %s", hostname.data()); > > Try using hostname.c_str() instead. The reason i > guess is that .data() > is not NULL-terminated, but click_chatter expects > this. > > Kendy >
Do you Yahoo!?
HotJobs
- Search new jobs daily now


More information about the click mailing list