C++. CString to string

CString str = "12345";
std::string str2(static_cast<const char*>(str));
str = str2.c_str();

Built with HTML5 and CSS3 | Copyright © 2012 - 2015 Зарембо Александр