The vector
template class provides a form of dynamic array
that expands at the end as necessary to accommodate additional elements.
These pages describe some aspects of this extremely useful feature.
vector
,
string
, ifstream
.