I'm trying to find a way to convert a string to array of c strings. So for example my string would be:
std::string s = "This is a string."
and then I would like the output to be something like this:
array[0] = This
array[1] = is
array[2] = a
array[3] = string.
array[4] = NULL