Defensive C++: Managing Memory

C++ 20    |    Intermediate
  • 6 Videos | 47m 46s
  • Includes Assessment
  • Earns a Badge
Likes 1 Likes 1
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 course
    outline 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 classes
    use smart pointers for automated memory management
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m
    UP NEXT
  • Playable
    2. 
    Resource Acquisition Is Initialization (RAII)
    14m 18s
  • Locked
    3. 
    Managing Memory on the Free Store
    6m 50s
  • Locked
    4. 
    Working with Constructors and Assignment Operators
    11m 7s
  • Locked
    5. 
    Using Smart Pointers to Manage Memory
    9m 32s
  • Locked
    6. 
    Course Summary
    2m

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.

YOU MIGHT ALSO LIKE