我想在向量中只插入少量值,例如3个整数.除此之外还有其他任何方法
vector<int>v; v.push_back(a1); v.push_back(a2); v.push_back(a3);
除此之外的任何方式.一行中的任何东西?
c++
c++ ×1