Answers for "std string to const char * c++"

C++
1

std string to const char * c++

std::string a = "string";
const char* b = a.c_str();
Posted by: Guest on November-12-2020

Browse Popular Code Answers by Language