Print a Java String
Tue Feb 5 13:50:00 GMT 2008
>>>>> ">" == abhi123 <firstname.lastname@example.org> writes:
>> I am able to catch this e but cout<<e->toString() displays a address or some
>> hex output but I want to display the toString output. Is there a way to do
>> this any help is much appreciated.
You need to convert the Java String to a C string. See the CNI manual
for some information on this; it is pretty similar to how you would do
it using JNI.
More information about the Java