adding rows dynamically and then retreiving it - appends some unknown characters
Jochen Katz
katz____agentpp.com
Tue May 15 19:31:56 CEST 2001
Hi,
> cout << "the value of the str is ****" << leafStrValue.data() <<
> "****" << endl;
> //THE OUTPUT OF THE STDOUT IS
> the value of the str is ****This is the second addition of pre
> val????||||||||||||||a****
with data() you get a pointer to the internal representation which is
not always terminated with null. Either use get_printable() or use len()
to get the length of the string.
Best regards,
Jochen
More information about the AGENTPP
mailing list