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?...

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    30

    What is the purpose of vector?

    What is the purpose of vector?

  2. #2
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can some one please tell me the cause of the error ?
    By broli86 in forum C Programming
    Replies: 8
    Last Post: 06-26-2008, 08:36 PM
  2. syntax help?
    By scoobygoo in forum C++ Programming
    Replies: 1
    Last Post: 08-07-2007, 10:38 AM
  3. Need some help/advise for Public/Private classes
    By nirali35 in forum C++ Programming
    Replies: 8
    Last Post: 09-23-2006, 12:34 PM
  4. Certain functions
    By Lurker in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2003, 12:26 AM
  5. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21