On 29/10/2015 at 12:18, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) :
---------
Hi, one more question, maybe i'm doing it wrong (best choice !!)
When I'm trying to get back value from a STRING resource i have to push it into a String object...
When I'm trying to print some thing with GePrint("my life"), i have to push it from a String object...
Nothing wrong ? But if i want to use regex or to_string() std::stoi("002") it can be painfull. I have to convert and juggle withs 2 different type of string.
"String" came from C4D with #include "c4d_string"
and
"string" inside std library with #include <string> ....
Finally my fist question is simple. GePrint() just want C4D String. So how did you do to print Int32, Float ? Can't it can convert it on the way ?
And how did you do when you have to use std string for other library (my example is regex) ?
Maybe my arm is in one of my eyes ?? I'm doing it wrong ?
Thank in advance !! ;-)