C++ Pointers - Finally Understand Pointers

200,236
0
Published 2020-10-16
Start your software dev career - calcur.tech/dev-fundamentals Get notified of my upcoming C/C++ Courses - www.codebreakthrough.com/upcoming-c-cpp-courses

πŸ’― 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 - www.instagram.com/CalebCurry
🐦 Twitter - twitter.com/calebCurry
πŸ”— LinkedIn - www.linkedin.com/in/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

All Comments (21)
  • I love how casually this guy speaks. Almost like a friend sharing notes :)
  • @bluerie._.3021
    I thought of an analogy for when you would use pointers: Say you ask a friend to do something regarding an essay you have on an online cloud (calling a function), but to do so, you would need to send them the essay (the arguments). You can either: 1. Send them a copy of the essay via email/message. This would give them the essay as it was when you sent it, and any changes will not transfer between versions. This means that you and your friend would only be able to see each other's essays if you were to directly communicate with each other. 2. Send them a link to the spot in the cloud where the essay is in the cloud. The link itself wouldn't be the essay, but they would be able to find the essay by following the link and any changes made by either you or your friend will be visible to anyone that looks at the essay. Option 1 would be like directly inputting the variable, while option 2 would be like using a pointer. Is this right?
  • @CodeSadhu
    Goddamn you explained this so wonderfully in 15 mins that my professors couldn't in an entire semester lol
  • Finally! Big help for me right now during my class. Thanks dude.
  • @Danieldxc666
    Holy... My professor could never explain this so smoothly in half a semester. Thank you!
  • @Eddy-ly2ml
    8:27 was the point of no return where i crossed into learning about pointers all thanks to you Caleb! I love your explanation videos! Thank you for making teaching and explaining these concepts!
  • @bradizawsome
    You should seriously be a professor or something. You literally made this so much easier for me to understand and you're the only YouTuber I can find that teaches before coding which is why I only watch your videos lol
  • @AleCat97
    awesome! in my class they are teaching us about pointers and new, delete, null, which seems like the old and harder way of doing things, but thanks for mentioning it in your video! most ppl skip it because its not used frequently but when we have to follow a curriculum from univ is hard to avoid and find info about those. thank u!
  • @Theanine3D
    I've been struggling with understanding pointers in my C++ course, but your explanation made so much more sense! Thank you!
  • @nickdgreat6741
    Great video, really helped me get a handle on the concept while keeping it interesting. Thanks for the help and keep doing you bro!
  • @larrym1983
    Oh my god! I luv your explanation of pointers! My professor at school is so confusing so I had to go to youtube to find a better explanation. Your video at explaining pointers is very clear!
  • I don't want to say other lessons bad, it's the best of 5 which I saw about pointers in recommends, and... really understand what it is and how to use it after watching. But, why is here low number of likes, not even 500. Everyone, put likes, this lesson deserves it!
  • @mrboyban
    Hey Caleb, thanks for make this content available,I'm feeling less dumb now.
  • @ciaspo
    Caleb, you figure out what might be difficult to understand and you explain it very clearly. You are a great teacher, keep up the good work! Thank you very much :)
  • @kylethelincey
    I'm so glad you make videos. You explained this in a way that was very easy to understand. Thanks!
  • @ParkerHix
    I rarely comment on videos but just wanted to say that I've watched this vid on pointers and your vid on references. You explain things very fluidly and casually, I really appreciate it.
  • @Squash101
    Certainly the best video on pointers, I wish more people taught concepts like this, rather than just showing a bit of code and syntax
  • @zinnkazama5022
    highly recommended video if anyone didn't get the pointer concept or don't know the use of a pointer, watch this video. Really helpful for me and thank you for the excellent explanation.