03 Фев 2014 C++. CString to string CString str = "12345"; std::string str2(static_cast<const char*>(str)); str = str2.c_str();