C++ Programming Tutorial 50 - Intro to Vectors

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 มี.ค. 2019
  • Start your software dev career - calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
    🐍 Python Course - calcur.tech/python-courses
    ✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
    ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
    ✉️ Newsletter - calcur.tech/newsletter
    📸 Instagram - / calebcurry
    🐦 Twitter - / calebcurry
    🔗 LinkedIn - / calebcurry
    ▶️ Subscribe - calcur.tech/subscribe
    👨🏻‍🎓 Courses - www.codebreakthrough.com
    ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
    ↪ My Amazon Store - www.amazon.com/shop/calebcurry
    🅿 Patreon - calcur.tech/patreon-calebcurry
    🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
    Ⓟ Paypal - paypal.me/calcur
    🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
    🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
    📈 Buy Bitcoin - calcur.tech/crypto
    Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/crypto
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 79

  • @aidantilgner
    @aidantilgner 2 ปีที่แล้ว +44

    1:14 it's apparently called a vector because Alex Stepanov, the designer of the Standard Template Library, was looking for a name to distinguish it from built-in arrays. He admits now that he made a mistake, because mathematics already uses the term 'vector' for a fixed-length sequence of numbers. But that's basically the reason why.

  • @josephwatson4292
    @josephwatson4292 4 ปีที่แล้ว +23

    Thank you for explaining this in the best way I’ve seen so far.

  • @AndresChGz
    @AndresChGz 3 ปีที่แล้ว +16

    Great lecture well explained Caleb! Thanks a lot.

  • @Two_Wheel_Yeehaw
    @Two_Wheel_Yeehaw 2 ปีที่แล้ว +2

    you're my go to C++ guy! keep it up man! we all appreciate you

  • @Theorythm22
    @Theorythm22 ปีที่แล้ว +2

    Currently learning c++ right now and this is beautiful explained. Thank you!

  • @abanerjee3704
    @abanerjee3704 3 ปีที่แล้ว +4

    This is just amazing....imma share it now.. Well done bro🤟🤟

  • @polskiobywatel553
    @polskiobywatel553 3 ปีที่แล้ว +10

    Vector = Array 2.0

  • @imadalnajjar8251
    @imadalnajjar8251 4 ปีที่แล้ว +7

    Caleb, you are amazing. Thx.

  • @HorizonSpeed26
    @HorizonSpeed26 3 ปีที่แล้ว +4

    Thanks for this, you helped me get a bit ahead for my c++ class.

  • @mohamedyahya9549
    @mohamedyahya9549 2 ปีที่แล้ว +2

    easy and simple, thank u very much sir

  • @VishiVish01
    @VishiVish01 2 ปีที่แล้ว

    Doing a great job bud. Keep it up 👍

  • @fillpattanamontri8698
    @fillpattanamontri8698 2 ปีที่แล้ว

    You're such a caleb and we love you caleb.

  • @arnavsharma3880
    @arnavsharma3880 4 ปีที่แล้ว +2

    great video!

  • @kacpergot100
    @kacpergot100 3 ปีที่แล้ว +1

    It helps understand how it works a lot, thanks ;)

  • @mutasimrafid4446
    @mutasimrafid4446 4 ปีที่แล้ว +4

    Man!!!! You are just amazing. Your teaching style is the best. A lot of knowledge in a short amount of time. Keep it up bro. :D

  • @negai_
    @negai_ 10 หลายเดือนก่อน +1

    THANK GODNESS, A GREATE EXPLANATION!!

  • @superdial8263
    @superdial8263 3 ปีที่แล้ว +1

    super helpful, thnx!

  • @johndavies729
    @johndavies729 2 ปีที่แล้ว

    Thankyou. Very well explained.

  • @stackingflow
    @stackingflow 4 ปีที่แล้ว +1

    Great Video, I liked the video

  • @DecentProgrammer
    @DecentProgrammer 2 ปีที่แล้ว

    Best TH-cam channel for programming.

  • @farhanfamim763
    @farhanfamim763 7 หลายเดือนก่อน +1

    Well explained. 👏🏻

  • @adventuresinphysics5069
    @adventuresinphysics5069 2 ปีที่แล้ว

    Very well explained

  • @amittalukder9633
    @amittalukder9633 4 ปีที่แล้ว +4

    vectoritems={1,2,1,2};

  • @thelonewolf9866
    @thelonewolf9866 4 ปีที่แล้ว +2

    Nice video! I'm doing C++ & C# simultaneously at school so this type of content is really great!

    • @aminenaqi83
      @aminenaqi83 3 ปีที่แล้ว +2

      game dev ?

    • @thelonewolf9866
      @thelonewolf9866 3 ปีที่แล้ว +1

      @@aminenaqi83 IT-engineering studies.

    • @thelonewolf9866
      @thelonewolf9866 3 ปีที่แล้ว +1

      @@aminenaqi83 Would be awesome to make games tough... I love PC-gaming!

    • @aminenaqi83
      @aminenaqi83 3 ปีที่แล้ว +1

      @@thelonewolf9866 good shit mate

    • @PunmasterSTP
      @PunmasterSTP 2 ปีที่แล้ว

      @@thelonewolf9866 Like Dark Souls?

  • @zlcoolboy
    @zlcoolboy ปีที่แล้ว

    Definitely understand why all the comments I looked at while working on array problems would say stuff like "why are you not using vectors instead?" lol. So much easier to deal with.

  • @leerdoor
    @leerdoor 2 ปีที่แล้ว

    I love the down-to-earth chalkboard teaching

  • @dim_tsas715
    @dim_tsas715 3 ปีที่แล้ว +1

    thank you

  • @moustafadabbous3657
    @moustafadabbous3657 2 ปีที่แล้ว

    Thanks for existing in my life

  • @CoGGetsBizzy
    @CoGGetsBizzy 4 ปีที่แล้ว +3

    God bless you

  • @sillerbarly4927
    @sillerbarly4927 3 ปีที่แล้ว +5

    Thank you this was very helpful, I am coming from python

  • @bredmond812
    @bredmond812 3 ปีที่แล้ว +4

    As far as why it is called "vector": the word origins of vector is shared "wagon". A wagon carries stuff. A vector also carries stuff. A vector is used in other contexts because it carries something. For example, pests such as rats are called vectors because they carry disease. Vectors in math/physics are so called because they carry a direction and a magnitude. Then again, maybe I am totally wrong, but I doubt it. Furthermore, the use of the word "vector" in C++ might be due to the background of Bjarne Stroustrup. It might be that vector is a more common word in Danish. I have no idea if that last point is true. Just throwing it out there.

    • @bredmond812
      @bredmond812 3 ปีที่แล้ว +1

      @Peterolen Ah. Interesting. Thank you for your contribution! It is greatly appreciated.

  • @vivekprajapati4787
    @vivekprajapati4787 2 ปีที่แล้ว +1

    Thanks

  • @ivanlo7195
    @ivanlo7195 3 ปีที่แล้ว +1

    this guy is like, why not just finish our new app on the blackboard

  • @PunmasterSTP
    @PunmasterSTP 2 ปีที่แล้ว

    This stuff is important; let’s all stay #!

  • @davidmitchelwinograd7146
    @davidmitchelwinograd7146 4 ปีที่แล้ว +1

    best video

  • @cesarcalderon2499
    @cesarcalderon2499 2 ปีที่แล้ว +1

    you can also get the size by using
    int length{static_cast(std::size(items))};
    output = std::cout

  • @natecallon9755
    @natecallon9755 4 ปีที่แล้ว +6

    std::cout

    • @natecallon9755
      @natecallon9755 4 ปีที่แล้ว +3

      Gizio the Jackal getline(“yes, arrays have actually grown on me a bit”)

    • @soulbaby000
      @soulbaby000 3 ปีที่แล้ว +2

      STOP HATIN

  • @eliaspfeffer
    @eliaspfeffer 2 ปีที่แล้ว

    Uh nice! THX!

  • @danieleccleston7928
    @danieleccleston7928 3 ปีที่แล้ว +1

    so a vector uses the heap?

  • @ArKa_47
    @ArKa_47 2 ปีที่แล้ว

    whoohoo.. vectors ftw!
    hehe, I like it

  • @abdopower5913
    @abdopower5913 5 ปีที่แล้ว +1

    hi bro did u finish C# ??

  • @okkami676
    @okkami676 2 ปีที่แล้ว

    What is that awesome outro music @ 7:39? Thank you!

  • @guitarhax7412
    @guitarhax7412 4 ปีที่แล้ว +5

    Ooooooo, where half way theeeerre

  • @morevxel
    @morevxel ปีที่แล้ว

    angled brackets

  • @dianacheruto365
    @dianacheruto365 2 ปีที่แล้ว

    Hey Caleb have got windows 10 , tried install an IDE for C++ but in vain... please help

  • @mashamell0w
    @mashamell0w ปีที่แล้ว

    Vectors are so much better than arrays when it doesn't come to memory TT

  • @boblee5556
    @boblee5556 2 ปีที่แล้ว

    You should be a university professor... you just made my prof (A former Microsoft employee with a Masters) look like a fool

  • @jogarule
    @jogarule 4 ปีที่แล้ว +3

    You are doing god’s work for doing these videos! Lol

  • @parkersmith3727
    @parkersmith3727 2 ปีที่แล้ว

    youre wayy better than the other dude that pops up his voice is so annoying.

  • @steveng9077
    @steveng9077 2 ปีที่แล้ว +1

    Is this compatible with the M1 macbook ?

  • @yash1152
    @yash1152 2 ปีที่แล้ว

    7:27 yeah, the agony with array sizes in C, ughhhh :(

  • @pedromiguel1322
    @pedromiguel1322 3 ปีที่แล้ว +1

    What does that happy face that is in the board mean? Is it a humanity secret? Is it something about the death of xxxTentation? Help me please, I need answers

  • @Haxr-dq6wt
    @Haxr-dq6wt 2 ปีที่แล้ว

    Hello Caleb the chubby chicken

  • @Foodran
    @Foodran 2 ปีที่แล้ว +1

    why are you explaining c++ on a chalk board.

  • @kevinurielfonseca
    @kevinurielfonseca 4 ปีที่แล้ว +3

    Omg I finally come back to you after 2 years. I can see you gained some weight lol.

  • @aswinsajeev4148
    @aswinsajeev4148 3 ปีที่แล้ว

    not as good as explanations by the indian guys on youtube. but still good.

  • @sergiodavidricotorres237
    @sergiodavidricotorres237 3 ปีที่แล้ว +1

    you're a good man, and you're doing things right with you're life...thanks