On 15/08/2012 03:55, Rodrigo Nunes wrote: > Glib::ustring testUString("1.23456789"); > char * UStringToCharArray = testUString.c_str(); > double floatingPoint = atof(UStringToCharArray); That should probably be const char *. The strings returned by .c_str() should not be modified directly, and you should receive a warning or error for dropping the const qualifier there. -- Kind regards, Loong Jin
Attachment:
signature.asc
Description: OpenPGP digital signature