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):

vector

Constructs a vector of a specific size or with elements of a specific value or as a copy of some other vector.

size

Returns the number of elements in the vector.

clear

Erases the elements of the vector.

empty

Tests if the vector container is empty.

pop_back

Deletes the element at the end of the vector.

push_back

Add an element to the end of the vector.

resize

Specifies a new size for a vector.

 

 

reserve

Reserves a minimum length of storage for a vector object.

swap

Exchanges the elements of two vectors.

 

 

         Vector class: iterator-related member functions (iterators used):

begin

Returns a random-access iterator to the first element in the container.

end

Returns a random-access iterator that points just beyond the end of the vector.

erase

Removes an element or a range of elements in a vector from specified positions.

insert

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.