К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Practical Guide to Mastering C++ Smart Pointers - Part 01 · LearnSpace
Назад в каталог
courseraПрограммирование

Practical Guide to Mastering C++ Smart Pointers - Part 01

Курс от Packt
Средний≈ 10.2 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Master the essentials of C++ smart pointers and dynamic memory management in this comprehensive course. Starting from the basics of C and C++ memory allocation, you will progressively learn how smart pointers like std::unique_ptr enhance memory safety and improve resource management in modern C++ code. As you advance, you’ll explore crucial concepts such as custom deleters, the PIMPL idiom, and using smart pointers within containers. You will also gain hands-on experience with practical examples, including game implementations and object pools, ensuring that you can apply what you learn in real-world projects. The course is structured into digestible sections, beginning with foundational memory management techniques and transitioning into smart pointer usage in C++. You'll explore different types of smart pointers, delve into best practices, and understand the implications of replacing raw pointers. The course also includes advanced topics that enable efficient memory management, improving your coding practices and software design. This course is ideal for intermediate programmers who are familiar with C++ basics and want to take their skills to the next level. It will benefit those interested in safe, efficient memory management in C++, especially for those working on complex systems and software applications. A strong understanding of basic C++ concepts and dynamic memory allocation is required, while the course will gradually build up your knowledge of smart pointers. By the end of the course, you will be able to confidently use smart pointers to manage dynamic memory in C++ effectively, avoid common pitfalls like memory leaks and dangling pointers, implement custom deleters, and optimize resource management in real-world applications.

Навыки, которые вы освоите

Memory ManagementC++ (Programming Language)C (Programming Language)Object Oriented Programming (OOP)Objective-C (Programming Language)DebuggingSoftware Design Patterns

Программа курса

11 модулей · 72 учебных материалов

01Introduction1 материалов

Introduction

IntroductionВидео
02C Allocation Routines8 материалов

C Allocation Routines

Introduction to Dynamic Memory AllocationВидеоUsing malloc()ВидеоUninitialized MemoryВидео

Учитесь у экспертов

Packt - Course Instructors

Преподаватель курса

Practical Guide to Mastering C++ Smart Pointers - Part 01
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 10.2 ч

11 модулей

Язык: Английский

Субтитры: Арабский, Французский, Итальянский, Корейский, Индонезийский, Испанский, Японский

Часть программы вашего университета
Using calloc()Видео
Using realloc() - IВидео
Using realloc() - IIВидео
Understanding Dynamic Memory Allocation in CDIALOGUE
C Allocation Routines - AssessmentЗадание
03C++ Allocation Routines10 материалов

C++ Allocation Routines

Using new OperatorВидеоnew Operator WorkflowВидеоHandling new FailureВидеоUsing new[] OperatorВидеоPlacement new - IВидеоPlacement new - IIВидеоReallocation - IВидеоReallocation - IIВидеоDynamic Memory Allocation in C++: new, delete, and Placement newDIALOGUEC++ Allocation Routines - AssessmentЗадание
04Smart Pointers4 материалов

Smart Pointers

IntroductionВидеоauto_ptr IssuesВидеоUnderstanding Raw Pointers and Deprecated auto_ptr in Modern C++DIALOGUESmart Pointers - AssessmentЗадание
05std::unique_ptr6 материалов

std::unique_ptr

IntroductionВидеоReturn TypeВидеоArgument - IВидеоArgument - IIВидеоSafe Memory Management with std::unique_ptr in C++DIALOGUEstd::unique_ptr - AssessmentЗадание
06Replacing Raw Pointers8 материалов

Replacing Raw Pointers

Fixing Uninitialized PointersВидеоFixing Dangling Pointers & Double DeleteВидеоException Safety - IВидеоException Safety - IIВидеоContainers - IВидеоContainers - IIВидеоManaging Memory with std::unique_ptrDIALOGUEReplacing Raw Pointers - AssessmentЗадание
07Deleters9 материалов

Deleters

Deleter IntroductionВидеоDeleter TypesВидеоCustom Deleter - IВидеоCustom Deleter - IIВидеоCustom Deleter - IIIВидеоCustom Deleter - IVВидеоCustom Deleter - VВидеоManaging Resources with Custom Deleters in std::unique_ptrDIALOGUEDeleters - AssessmentЗадание
08Make Functions6 материалов

Make Functions

std::make_uniqueВидеоDynamic Array - IВидеоDynamic Array - IIВидеоDynamic Array - IIIВидеоException-Safe Dynamic Memory with std::unique_ptr and make_uniqueDIALOGUEMake Functions - AssessmentЗадание
09Pointer to IMPLementation5 материалов

Pointer to IMPLementation

PIMPL - IВидеоPIMPL - IIВидеоPIMPL - IIIВидеоImplementing the PIMPL Idiom with std::unique_ptr in C++DIALOGUEPointer to IMPLementation - AssessmentЗадание
10Project6 материалов

Project

Project IntroductionВидеоGame ImplementationВидеоObject Pool - IВидеоObject Pool - IIВидеоImplementing an Object Pool with Smart PointersDIALOGUEProject - AssessmentЗадание
11Advanced Concepts9 материалов

Advanced Concepts

Constructors & ModifiersВидеоObserversВидеоOperatorsВидеоUninitialized ConstructionВидеоDeleter Types RevisitedВидеоconstexpr unique_ptrВидеоAdvanced Concepts - AssessmentЗаданиеFull Course Practice Assessment ЗаданиеFull Course AssessmentЗадание