Added: 11 months ago
From: xoaxdotnet
Views: 6,166
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (18)

Sign In or Sign Up now to post a comment!
  • at 3:28 this code is illustrated to explain this concept of access by square brakes, my humble question is. Why are there a pair of () after the square braker.

  • "This concludes the lesson." What happened? :O

  • awesome....!!!

  • i don't get it

  • keep the c++ tutorials going!!!

    you rock!

  • Nice tutorial, I had thought that you quit C++ tutorial's.

  • Vectors are awesome (A) the only downside is that they are dynamic and thus slow.... however if you only just initialize your vector from the start and than never change it again its just as fast as a normal array! :)

  • @PleeDuck slow? slower than what?

  • whats a vector?

  • better use i != (c).end() instead i!=(c).size(), because end() is a O(1) function and size() is a O(n) function.

  • @yutuboslaven You must be thinking of another container class. It wouldn't make any sense for size() to be O(n) for vectors. It is O(1). If you need proof, here's the code from the MS 2010 library:

    size_type size() const

    { return (this->_Mylast - this->_Myfirst);

    }

  • @xoaxdotnet

    Thx!

  • is this for c++ 2010

  • finally new C++ vid :)

  • i hate to use vectors... its easyer to make a own vector class with a template

  • You're videos are what got me interested in programming in C++. Now I already know all the information in your newer videos, this is weird ;)

    Great videos by the way, keep it up!

  • Cheers for Lesson 50!

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