char *values = " 3 1 4 15"; vector<int> array;
我想用数值填充数组,
3,1,4,15
使用stl复制算法有一种灵巧的方法吗?
c++ stl vector
c++ ×1
stl ×1
vector ×1