C++ Programming Tutorial 50 - Intro to Vectors
Vložit
- čas přidán 17. 03. 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 - Věda a technologie
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.
Thank you for explaining this in the best way I’ve seen so far.
Vector = Array 2.0
Great lecture well explained Caleb! Thanks a lot.
you're my go to C++ guy! keep it up man! we all appreciate you
Currently learning c++ right now and this is beautiful explained. Thank you!
Caleb, you are amazing. Thx.
This is just amazing....imma share it now.. Well done bro🤟🤟
Thanks for this, you helped me get a bit ahead for my c++ class.
You're an object ;)
easy and simple, thank u very much sir
You're such a caleb and we love you caleb.
vectoritems={1,2,1,2};
vector myVector;
Doing a great job bud. Keep it up 👍
great video!
Best CZcams channel for programming.
It helps understand how it works a lot, thanks ;)
THANK GODNESS, A GREATE EXPLANATION!!
Thank you this was very helpful, I am coming from python
I appreciate your bravery
Thankyou. Very well explained.
Well explained. 👏🏻
super helpful, thnx!
God bless you
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
Great Video, I liked the video
thank you
Thanks
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.
I love the down-to-earth chalkboard teaching
Very well explained
Nice video! I'm doing C++ & C# simultaneously at school so this type of content is really great!
game dev ?
@@aminenaqi83 IT-engineering studies.
@@aminenaqi83 Would be awesome to make games tough... I love PC-gaming!
@@thelonewolf9866 good shit mate
@@thelonewolf9866 Like Dark Souls?
Thanks for existing in my life
best video
This stuff is important; let’s all stay #!
this guy is like, why not just finish our new app on the blackboard
whoohoo.. vectors ftw!
hehe, I like it
Uh nice! THX!
What is that awesome outro music @ 7:39? Thank you!
hi bro did u finish C# ??
std::cout
Gizio the Jackal getline(“yes, arrays have actually grown on me a bit”)
STOP HATIN
so a vector uses the heap?
Ooooooo, where half way theeeerre
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.
@Peterolen Ah. Interesting. Thank you for your contribution! It is greatly appreciated.
you can also get the size by using
int length{static_cast(std::size(items))};
output = std::cout
angled brackets
You should be a university professor... you just made my prof (A former Microsoft employee with a Masters) look like a fool
Hey Caleb have got windows 10 , tried install an IDE for C++ but in vain... please help
Vectors are so much better than arrays when it doesn't come to memory TT
You are doing god’s work for doing these videos! Lol
Is this compatible with the M1 macbook ?
ye
7:27 yeah, the agony with array sizes in C, ughhhh :(
youre wayy better than the other dude that pops up his voice is so annoying.
Hello Caleb the chubby chicken
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
What
why are you explaining c++ on a chalk board.
Omg I finally come back to you after 2 years. I can see you gained some weight lol.
not as good as explanations by the indian guys on youtube. but still good.
you're a good man, and you're doing things right with you're life...thanks