emptying a vector

This is a discussion on emptying a vector within the C++ Programming forums, part of the General Programming Boards category; Hi, I was wondering if there is a method that can empty a vector ?? Thank you for your help ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    9

    Question emptying a vector

    Hi,

    I was wondering if there is a method that can empty a vector ??

    Thank you for your help

    Craig

  2. #2
    Unregistered
    Guest
    vector< class Type >::clear( )

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, 09:36 PM
  2. syntax help?
    By scoobygoo in forum C++ Programming
    Replies: 1
    Last Post: 08-07-2007, 11:38 AM
  3. Vector class
    By Desolation in forum C++ Programming
    Replies: 2
    Last Post: 05-12-2007, 06:44 PM
  4. Need some help/advise for Public/Private classes
    By nirali35 in forum C++ Programming
    Replies: 8
    Last Post: 09-23-2006, 01:34 PM
  5. Certain functions
    By Lurker in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2003, 01:26 AM

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