char vector to string c++
std::vector<char> input({ 'a', 'b', 'c' });
std::string s(input.begin(), input.end());
Are there any code examples left?
New code examples in category C++
std::vector<char> input({ 'a', 'b', 'c' });
std::string s(input.begin(), input.end());