All Questions
1 question
2
votes
6
answers
1k
views
What is the most efficient way to convert STL string array to const char* array?
We have:
std::string string_array[2];
string_array[0] = "some data";
string_array[1] = "some more data";
char* cstring_array[2];
What is the most efficient way to copy data from string_array ...