Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
C++ Smart Pointers | Codefinity

Unsure where
to begin?

Course
Certificate
C++ Smart Pointers
Advanced
C++ Smart Pointers is your way to unlock the power of memory management. Designed seasoned programmers, this course provides a deep dive into one of the most crucial aspects of modern development and revise about pointers and references. Show more
29 chapters
5 hours
PythonChatGPTSQLNumPyRPandasHTMLReactCJavaJavaScriptReduxC++PythonChatGPTSQLNumPyRPandasHTMLReactCJavaJavaScriptReduxC++
PythonChatGPTSQLNumPyRPandasHTMLReactCJavaJavaScriptReduxC++
Over 1.5 million
people have chosen

Codefinity to upgrade
tech skills
What you will learn
1
Introduction to Smart Pointers
This segment will cover a review of heap and stack memory, the necessity of smart pointers, and their practical applications.
View chapter details
2
Unique Pointers
In this section, we will introduce the concepts of smart pointers and references in C++, delve into why they are so important, and explore their use cases and benefits.
View chapter details
3
Shared Pointers
This section examines shared pointers, investigating their functionality, benefits, real-world applications in programming and what sets unique pointers apart
View chapter details
Show more
1
Introduction to Smart Pointers
This segment will cover a review of heap and stack memory, the necessity of smart pointers, and their practical applications.
View chapter details
2
Unique Pointers
In this section, we will introduce the concepts of smart pointers and references in C++, delve into why they are so important, and explore their use cases and benefits.
View chapter details
3
Shared Pointers
This section examines shared pointers, investigating their functionality, benefits, real-world applications in programming and what sets unique pointers apart
View chapter details
4
Weak Pointers
In this section, we will explore weak pointers, comprehending their nature, creating and utilizing them effectively, resolving circular references through weak pointers, and examining key functions associated with weak pointers.
View chapter details
5
References
This section addresses the distinctions between references and pointers, emphasizing their differences and similarities. It covers the concept of constant references and immutability, provides guidance on when to utilize references versus smart pointers versus raw pointers, and outlines best practices for working with references in programming contexts.
View chapter details
6
Advanced topics
This section covers custom deleters for smart pointers, real-world smart pointer applications, performance considerations, and a detailed comparison of shared, unique, and weak pointers.
View chapter details
GoogleIntelFedExMetaTwitterNikeAmazonMicrosoftTesla
Trusted by employees of leading companies
We have students from each letter of MAANG and many more companies
Data Engineer
Certificate of Completion
Showcase your newly acquired skills. You've earned it
Main directions
Data Science
Elevate your skills with Python's simplicity, versatility, and robust libraries.
WEB Development
Enable your web development with dynamic and scalable applications.
Data Analytics
Extract insights with facilitation and create powerful visualizations.
Show More
Over 200,000 5-star ratings
and counting
Ruslan Kravchuk
The main thing is to learn and not give up
The material is good, there is a lot to learn, all in order to become better and the main thing is to learn what you want....
Matteo Comune
Thanks to them I'm learning a lot…
Thanks to them I'm learning a lot faster because they help you to understand everything from scratch. It's the best website that helps people with no background in IT...
Yuliana Cadavid
great course for beginners
great course for beginners, they test your knowledge in every lesson...
Elpunzon
I am enjoying my Codefinity experience…
I am enjoying my Codefinity experience learning Python. The self-paced way of learning is great because I can fit it into my schedule...
Alexandru Alexandru
Is nice to learn from codefinity
Is nice to learn from codefinity. Its easy and have good examples on what I learned here...
jacob Templet
Easy to follow along with and provides...
Easy to follow along with and provides challenge in my every day life. The challenge keeps me wanting to learn day after day...
Elan
Codefinity is a comprehensive learning…
Codefinity is a comprehensive learning tool to help you develop your skills as a software engineer or data scientist. The exercises are fun and a good way to sharpen your skills...
Thibault
First time learning how to code
First time learning how to code and successfully doing so with codefinity - thank you...
Adrien Morel
Well designed for total beginners
Well designed for total beginners, incremental progress and makes me feel confident....
_Gracy
it's simply perfectly well explained
it's simply perfectly well explained! so far I have not experienced any difficulty because everything is so well managed...
Ruslan Kravchuk
The main thing is to learn and not give up
The material is good, there is a lot to learn, all in order to become better and the main thing is to learn what you want....
Matteo Comune
Thanks to them I'm learning a lot…
Thanks to them I'm learning a lot faster because they help you to understand everything from scratch. It's the best website that helps people with no background in IT...
Yuliana Cadavid
great course for beginners
great course for beginners, they test your knowledge in every lesson...
Elpunzon
I am enjoying my Codefinity experience…
I am enjoying my Codefinity experience learning Python. The self-paced way of learning is great because I can fit it into my schedule...
Alexandru Alexandru
Is nice to learn from codefinity
Is nice to learn from codefinity. Its easy and have good examples on what I learned here...
jacob Templet
Easy to follow along with and provides...
Easy to follow along with and provides challenge in my every day life. The challenge keeps me wanting to learn day after day...
Elan
Codefinity is a comprehensive learning…
Codefinity is a comprehensive learning tool to help you develop your skills as a software engineer or data scientist. The exercises are fun and a good way to sharpen your skills...
Thibault
First time learning how to code
First time learning how to code and successfully doing so with codefinity - thank you...
Adrien Morel
Well designed for total beginners
Well designed for total beginners, incremental progress and makes me feel confident....
_Gracy
it's simply perfectly well explained
it's simply perfectly well explained! so far I have not experienced any difficulty because everything is so well managed...
Chosen by students of top schools
Including 30 out of top-30 U.S. colleges
virginia
texas
michigan
duke
berkeley
yale
mit
brown
carnegie
rochester
california
connecticut
massachusetts
city-new-york
virginia
texas
michigan
duke
berkeley
yale
mit
virginia
texas
michigan
duke
berkeley
yale
mit
brown
carnegie
rochester
california
connecticut
massachusetts
city-new-york
virginia
texas
michigan
duke
berkeley
yale
mit
florida
illinois
colorado
indiana
new-york
cornell
columbia
notre-dame
florida
illinois
colorado
indiana
florida
illinois
colorado
indiana
new-york
cornell
columbia
notre-dame
florida
illinois
colorado
indiana

We are ready to answer your questions

How do I get access to the platform?

faq-icon

What if I have questions while learning?

faq-icon

Is a tech degree necessary for learning?

faq-icon

Still have questions?

Write your question here

Accelerate your career with professional guidance
some-alt