Built in arrays
std::array
. , dynamic arrays
(, new
) , .
std::vector
(, , ) a, , array-type applications
. , , , . std::vector
, .
int arr[items.count];
: -
std::vector<int> arr(items.count);
std::vector
, 99% - . , . . , , push_back
, insert
, emplace_back
, emplace
, erase
.., , , .
. this