C++ Tutorial #13, STL Vectors (2)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,863
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 16, 2008

Continuing Vectors.

I made an error in my movie: the .end() function of a vector actually gives you a pointer to the element that is just after the last one, not the last one itself.

Category:

People & Blogs

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • thank you! I've been trying to understand vectors for a while now with no success. you have really helped me with this video. thanks, man!

  • The reason why the 9 went into the 2nd spot is because u set the iterator to begin then only incremented it once. Then inserted 9, thus the 2nd slot.

    And this [5][3][9] makes it look like ur using a multi dimensional container. try{5,3,9}

    instead

  • this shit sucks, confused the hell out of me.

  • The bug was, you were comparing "i" instead of "it".

  • iterator like it

    not iterator like ice =)

    Thanks for the video!

  • yay! first post :)

    ...anyway, i thank u for these tutorials man....if it wasn't for u and ALL ur tutorials, i prolly wouldnt be as good as a programmer as i am today :)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more