Converting a C++ std::string to char*

So it turns out there is a std::string->c_str function. Note: I’m pretty sure this char[] will be deleted when the std::string is deleted…

Leave a Reply