How to print string in C++:
e.g.  string Fun(string a, int b)

Then I'll try to printf the return value of this Fun().

*****:return
{
printf("ret = %s", stringof(arg0));
...
}

But DTrace told that this use is uncorrect.

Then how to get the return string value??
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to