C++ Pointers to Pointers - Finally Understand Double Pointers

  Рет қаралды 7,941

Caleb Curry

Caleb Curry

Күн бұрын

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

Пікірлер: 16
@codebreakthrough
@codebreakthrough Жыл бұрын
Be notified of new C/C++ course: calcur.tech/c-cpp-newsletter
@brajlecz9485
@brajlecz9485 Жыл бұрын
Damn, caleb got in shape! great work!
@spidermanlift4527
@spidermanlift4527 Жыл бұрын
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.
@pastasawce
@pastasawce Жыл бұрын
What's a pirates favorite programming language? C! With Args!
@GSeymore
@GSeymore 4 ай бұрын
Thank you!
@jerardosandoval861
@jerardosandoval861 Жыл бұрын
Perfect. I have a final today
@dwivedys
@dwivedys 2 ай бұрын
Pointers - while conceptually are not too complicated to understand - in practice blows the hell out of the brains!
@meera.9404
@meera.9404 9 ай бұрын
Nice 👍
@meera.9404
@meera.9404 9 ай бұрын
Nice.
@boryswwa
@boryswwa Жыл бұрын
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.!
@luigichopper
@luigichopper Жыл бұрын
The chapters say 'ChatGPT' Informative video btw! 👍
@codebreakthrough
@codebreakthrough Жыл бұрын
Oops, copied prev video and forgot to update timestamps. Just updated! Thanks.
@luigichopper
@luigichopper Жыл бұрын
@@codebreakthrough Np! I also watched your entire C++ series over the summer and learned a ton!
@harrysbidos
@harrysbidos 24 күн бұрын
Actually, reference pointer could be used instead... in the second example.
@Sydney268
@Sydney268 Жыл бұрын
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};
@nachmeo1728
@nachmeo1728 Жыл бұрын
triple pointer
Smart Pointers in C++ (Stop Using new?)
17:18
Caleb Curry
Рет қаралды 11 М.
C++ Pointers - Finally Understand Pointers
15:56
Caleb Curry
Рет қаралды 209 М.
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 88 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 16 МЛН
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Dynamic Memory with Malloc - Everything you Need to Know
13:51
Caleb Curry
Рет қаралды 8 М.
Learning C++? Avoid these Beginner Mistakes...
13:47
Caleb Curry
Рет қаралды 6 М.
String In Char Array VS. Pointer To String Literal | C Programming Tutorial
9:58
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 293 М.
why do void* pointers even exist?
8:17
Low Level Learning
Рет қаралды 344 М.
You will never ask again about pointers after watching this video!
20:48
Low Level Game Dev
Рет қаралды 13 М.
C++ Examples - Pass by Value vs Reference vs Pointer
11:53
Caleb Curry
Рет қаралды 22 М.
Structs in C | What you Need to Know
24:39
Caleb Curry
Рет қаралды 9 М.
are "smart pointers" actually smart?
9:44
Low Level Learning
Рет қаралды 72 М.
What is the Difference Between a Pointer and a Reference C++
7:58
Paul Programming
Рет қаралды 426 М.
My iPhone 15 pro max 😱🫣😂
0:21
Nadir Show
Рет қаралды 1,5 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 1,7 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН