Section 12.6 Word Matching Exercise
vector<typename>()
vector<typename>(size)
vector<typename>(size, value)
push_back(e)
size()
at(index)
empty()
clear()
| returns the size of the vector. | |
| creates an empty vector. | |
| creates a vector with the specified size. | |
| appends the specified element into the vector. | |
| returns the element at the specified index. | |
| creates a vector with specified size and default value. | |
| removes all the elements from the vector. | |
| returns true if the vector is empty. |