MSDN
Reference:
You can click the individual member function below to access the related sample code in the online MSDN documents.
·
Vector class: Non-iterator member functions
(no iterators used):
Constructs a vector of a specific size or with elements of a specific value or as a copy of some other vector. |
|
Returns the number of elements in the vector. |
|
Erases the elements of the vector. |
|
Tests if the vector container is empty. |
|
Deletes the element at the end of the vector. |
|
Add an element to the end of the vector. |
|
Specifies a new size for a vector. |
|
|
|
Reserves a minimum length of storage for a vector object. |
|
Exchanges the elements of two vectors. |
|
|
|
· Vector class: iterator-related member functions (iterators used):
Returns a random-access iterator to the first element in the container. |
|
Returns a random-access iterator that points just beyond the end of the vector. |
|
Removes an element or a range of elements in a vector from specified positions. |
|
Inserts an element or a number of elements into the vector at a specified position. |
· You can click this link to see the full list of the vector class members.