convert vector into a string c++ directly 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());