Most voted "vector" questions

In C++ the Std::vector container is an array and generalizes the concept of a vector. It can be accessed through indexes for the elements as well as in C (through a proper operator overload) and its memory is allocated contiguously. However, unlike an array, the container size is dynamic with automatic management and there is greater flexibility to add elements.

Learn more…

78 questions

Sort by count of