Defensive C++: Managing Memory
C++ 20
| Intermediate
- 6 Videos | 45m 46s
- Includes Assessment
- Earns a Badge
Modern C++ offers the use of smart pointers in the C++ standard library, which uses the resource allocation is initialization (RAII) technique to free programmers from the burden of resource management. Take this course to discover the various pitfalls involved in manually managing memory on the free store in C++. Through this course, you'll explore how to automate the management of resources that need to be explicitly acquired and reduce resource management issues through the RAII technique. When you are finished with this course, you should be able to manage memory and other resources in your C++ code using smart pointers from the standard library.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this courseoutline the resource allocation is initialization design principle in C++identify the issues with manual memory management on the free store
-
recognize how to write, copy, and move constructors and assignment operators for your classesuse smart pointers for automated memory managementsummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2mUP NEXT
-
2.Resource Acquisition Is Initialization (RAII)14m 18s
-
3.Managing Memory on the Free Store6m 50s
-
4.Working with Constructors and Assignment Operators11m 7s
-
5.Using Smart Pointers to Manage Memory9m 32s
-
6.Course Summary2m
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.