C ++'s default dynamic array ... #include <vector>. std::vector<int> v {2, 4, 5}; v.push_back(6); v.pop_back(); v[1] = 3; v.resize(6, 0); ...
確定! 回上一頁