Table of Contents
A vector is similar to an array, except that it can "grow" to accommodate as many items as you actually try to put into it:
A very useful structure.
We'll use it to implement many other ADTs.
Your text introduces a somewhat simplified version (the
minivector) of the
We'll use that simplified form when we look at how to implement
vectors, but will start by studying the
interface so that you know what you can do when programming
applications of it.