Standard C++ Library User Guide and Tutorial
Click on the banner to return to the user guide home page.
©Copyright 1996 Rogue Wave Software
Chapter 5: vector and vector <bool>
The vector Data Abstraction❍ 
Include Files■ 
Vector Operations❍ 
Declaration and Initialization of Vectors■ 
Type Definitions■ 
Subscripting a Vector■ 
Extent and Size-Changing Operations■ 
Inserting and Removing Elements■ 
Iteration■ 
Test for Inclusion■ 
Sorting and Sorted Vector Operations■ 
Useful Generic Algorithms■ 
Boolean Vectors❍ 
Example Program - Sieve of Eratosthenes❍ 










