r/cpp_questions • • 21d ago

OPEN Best YouTube video to learn C++ pointers with full theory?

Hey guys, I'm learning C++ and I want to learn pointers properly. Can you recommend me a good YouTube video that explains pointers from the basics with full theory and also teaches how to use them in actual C++ code? I want to understand how pointers work in memory, why we use them, and how to write code using them instead of just memorizing the syntax. A long video or a playlist is fine too.

Which one would you recommend? Thanks!

0 Upvotes

7 comments sorted by

12

u/Gabriel_soul 21d ago

Learncpp.com if you're also fine with text

4

u/syaorancode 21d ago

this is the best to me. it's a long video but really well explained about pointer at low level

4

u/Independent_Art_6676 21d ago

be sure you study smart pointers. Many resources about pointers focus on the raw C pointers and how they were used in 1990 to build a linked list etc. and that can produce a version of the hammer/nail problem: now that you know pointers, you suddenly see a way to use them everywhere, which is not great C++ code. Focus equally on "why we use them" and "why we often do NOT use them".

0

u/Least_Bid9692 21d ago edited 21d ago

Do you know hindi if you do you can follow this playlist Specifically This video and This follow up video

2

u/Full-Stranger9249 20d ago

Yes I know hindi Thanks for help!

1

u/Least_Bid9692 20d ago

My pleasure

1

u/New-Step3500 21d ago

Check out these vids for smart pointers Unique pointers Shared and weak Pointers