Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Pointers vs References in C++ - Why References Are Preferred

Ralph S Bacon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the differences between pointers and references in C++ programming through this informative 32-minute video tutorial. Learn why references are often preferred over pointers for beginner to intermediate hobbyist coders. Dive into a comprehensive walkthrough of both references and pointers, understanding their use cases and implementation. Gain insights into why pointers, while important to know, may not be necessary for many C++ programming tasks. Follow along with code examples and practical demonstrations to solidify your understanding of these crucial concepts. By the end, grasp why C++ references offer a more user-friendly alternative to C-style pointers for many programming scenarios.

Syllabus

Welcome Back
Intro and quick C++ vs C discussion
Why the need for references or pointers?
References walkthrough
Pointers walkthrough
Conclusion

Taught by

Ralph S Bacon

Reviews

Start your review of Pointers vs References in C++ - Why References Are Preferred

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.