Vector problem.

This is a discussion on Vector problem. within the C Programming forums, part of the General Programming Boards category; Type the line "gList.erase(gList.begin()+1);" note number of parentheses and commas If that doesn't work, post the actual error message you ...

  1. #16
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    Type the line
    "gList.erase(gList.begin()+1);"
    note number of parentheses and commas

    If that doesn't work, post the actual error message you get.

  2. #17
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,832
    Do you know the difference between a comma and a semicolon?

  3. #18
    Registered User
    Join Date
    Oct 2008
    Posts
    65
    oh missed one post u posted.

  4. #19
    Registered User
    Join Date
    Oct 2008
    Posts
    65
    AAAAAAAH

    Im to tired for this, haha..

  5. #20
    Registered User
    Join Date
    Oct 2008
    Posts
    65
    well no error message now.

    but still no luck on the erase part.
    meaning that it is not erasing.

    how come?
    Last edited by And3rs; 10-14-2008 at 05:35 PM.

  6. #21
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    Quote Originally Posted by And3rs View Post
    well no error message now.

    but still no luck on the erase part.
    meaning that it is not erasing.

    how come?
    Quote Originally Posted by tabstop View Post
    (Not that this line could ever happen, since choice == list2 must always evaluate false, since you are comparing the addresses of the arrays.)
    I'm guessing you never fixed this part yet. (And of course choice==list suffers from the same fate.) And you're not using C++ strings why?

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

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