I’m having the hardest time converting CString’s to std::strings. I have some filename paths that i need converted to strings, and I’m also trying to verify that they converted correctly by printing on the command line by using:
RhinoApp().Print( L"The converted string is %s \n",convertedToString.c_str());
convertedToString is a std::string.
Can someone help me here? I just want to be able to work with strings instead of CStrings. I am in a unicode environment