What is the purpose of vector?
This is a discussion on What is the purpose of vector? within the C++ Programming forums, part of the General Programming Boards category; What is the purpose of vector?...
What is the purpose of vector?
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