What is the purpose of vector?

Printable View

- 04-21-2002GammaWhat is the purpose of vector?
What is the purpose of vector?

- 04-21-2002ygfperson
the vector class? or vectors in math?

vectors in math have two values. they are used to show direction and power.

the vector class in C++ is a type of container class. it's like a regular array, except it can be extended, copied, and sorted easily.

http://www.msoe.edu/eecs/ce/courseinfo/stl/vector.htm