Vectors
Vectors
std::vector
is a safe container for arrays of dynamic size.
It automatically coordinates the process of allocating and deallocating memory for the elements as required.
1 |
|
1 |
|
1 2 3 |
|
1 2 3 4 |
|
1 2 3 4 |
|
1 2 3 |
|
1 |
|
1 2 |
|
1 2 3 |
|
1 2 3 4 5 6 |
|
1 2 3 4 5 6 7 |
|