[c++] How to convert a const char * to std::string