#include<iostream>
#include<string>
#include<vector>
using namespace std;
int main()
{
vector<char>c = { '1', '2', '3' };
string s(c.begin(),c.end());
cout << s << endl;
return 0;
}
#include<iostream>
#include<string>
#include<vector>
using namespace std;
int main()
{
vector<char>c = { '1', '2', '3' };
string s(c.begin(),c.end());
cout << s << endl;
return 0;
}
转载于:https://www.cnblogs.com/KennyRom/p/5872463.html