Published On Dec 22, 2023
It's true! At the beginner to moderate hobbyist coder, pointers are just trouble 😮
► PCBWay $5 for 10 pieces https://www.pcbway.com
00:00 Welcome Back
00:01 Intro and quick C++ vs C discussion
04:43 Why the need for references or pointers?
10:08 References walkthrough
16:50 Pointers walkthrough
31:03 Conclusion
GitHub entry for this video: https://github.com/RalphBacon/BB12-Po...
which contains the example files used in the demo.
So you asked "What about pointers, Ralph?". And I kept telling you, "Not needed". I was finally brow-beaten, er, sorry, "persuaded" to show you the difference between C++ user-friendly References and C-style, hard-to-decipher (and use) Pointers.
It is, of course, good to know about pointers, as other people's code might be full of them. Especially libraries, ported from the C language. But it doesn't mean you should be tempted to use them when we have References available.
Unless you know differently? Your views in the comments, please!
► List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphB...
► If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite (and other μControllers) journey
My channel, GitHub and other stuff are here:
------------------------------------------------------------------
• / ralphbacon
• https://github.com/RalphBacon
• https://buymeacoffee.com/ralphbacon
------------------------------------------------------------------
My ABOUT page with email address: / ralphbacon