vector 转成vector vector<int> nums; vector<string> save; int size = nums.size(); for(int i = 0 ; i < size ; i++){ save.push_back(to_string(nums[i])); }