cpString

Kendy Kutzner kutzner at fokus.gmd.de
Wed Oct 30 10:38:57 EST 2002


On 2002-10-29T13:36:55+0000, testclick wrote:
> 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

Look at ./include/click/string.hh. Both data() and cc() return 'const
char * '. If you want to change the string, have a look at all the
other member functions of class String, maybe what you need is already
there. Otherwise mutable*() or assign() may help.

Kendy




More information about the click mailing list