previous
|
start
|
next
Using Vectors to Collect Data Items
A
vector
is a collection of data items of the same type.
vector<double> salaries(10);
This vector holds 10 values, each of which are
double
.
previous
|
start
|
next