There are many similarities between arrays and
vectors, but there are also some significant differences. Arrays are lower-level
abstraction than vectors, so they are less convenient. An array cannot be
resized. These limits make arrays more cumbersome to use than vectors.
Vectors are a recent addition to C++. Arrays are faster and more efficient than
vectors.
Goals:
1.To become familiar with using vectors.
2.To be able to access vector elements and resize vector.
3.To be able to pass vectors to functions
Goals:
1. To be able to program functions and procedures
2. To become familiar with the concept of parameter passing
3. To recognize when to use value and reference parameters