C++ Pointers to Pointers - Finally Understand Double Pointers
Vložit
- čas přidán 8. 07. 2024
- Start your software dev career - calcur.tech/dev-fundamentals Pointers are complicated, but what about a pointer to a pointer? This can be confusing, but i'll show you simple examples to get you going!
Be notified of new C/C++ course: calcur.tech/c-cpp-newsletter
💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
Timestamps:
00:00 - Intro
02:00 - Intro to pointer to pointer
08:04 - Change Pointers in Functions
⚛️ FREE React Course (20 hours) - calcur.tech/free-react-course
✅ 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 - Věda a technologie
Be notified of new C/C++ course: calcur.tech/c-cpp-newsletter
Damn, caleb got in shape! great work!
Hey Caleb, I started coding with arm assembly, and I learned that pretty well. But due to having to switch to C++ for a different project I struggled a lot with the syntax which your videoes helped a lot. Understanding how it works at a low level but not knowing how to do it is really frustrating.
What's a pirates favorite programming language? C! With Args!
Thank you!
Perfect. I have a final today
Pointers - while conceptually are not too complicated to understand - in practice blows the hell out of the brains!
08:03 Hi Caleb, could You explain, why we don't need to use a dereference operator (*data[i]) to get the strings in std::cout in this examle? if data[] is an array of pointers, and we get specific value from that array, shouldn't we get the address of the string as a return, rather than the string itself, since we are not using a dereference operator here? Or is do the brackets in the array reference dereference the pointer by definition?
Great tutorials btw.!
Nice 👍
Nice.
The chapters say 'ChatGPT'
Informative video btw! 👍
Oops, copied prev video and forgot to update timestamps. Just updated! Thanks.
@@codebreakthrough Np! I also watched your entire C++ series over the summer and learned a ton!
Well I have no idea why it didn't work just copying the lvgl object pointers into an array - but it did when I made an array of pointers to pointers of lvgl objects?!
static lv_obj_t **ta_time[4] = {&ui_SettingsTime1, &ui_SettingsTime2, &ui_SettingsTime3, &ui_SettingsTime4};
triple pointer