store string vector to char * [] c++ code example
Example: char vector to string c++
std::vector<char> input({ 'a', 'b', 'c' });
std::string s(input.begin(), input.end());
std::vector<char> input({ 'a', 'b', 'c' });
std::string s(input.begin(), input.end());