Packt

C++ Memory Management

Eignen Sie sich gefragte Fähigkeiten mit einem ganzjährigen Coursera Plus-Abonnement an -- jetzt für 239 $. Sparen Sie jetzt.

kurs ist nicht verfügbar in Deutsch (Deutschland)

Wir übersetzen es in weitere Sprachen.
Packt

C++ Memory Management

Bei Coursera PlusMehr erfahren enthalten

Verschaffen Sie sich einen Einblick in ein Thema und lernen Sie die Grundlagen.
Stufe Mittel

Empfohlene Erfahrung

2 Wochen zu vervollständigen
unter 10 Stunden pro Woche
Flexibler Zeitplan
In Ihrem eigenen Lerntempo lernen
Verschaffen Sie sich einen Einblick in ein Thema und lernen Sie die Grundlagen.
Stufe Mittel

Empfohlene Erfahrung

2 Wochen zu vervollständigen
unter 10 Stunden pro Woche
Flexibler Zeitplan
In Ihrem eigenen Lerntempo lernen

Was Sie lernen werden

  • Master the C++ object model to write more efficient and maintainable code

  • Automate resource management to reduce manual errors and improve safety

  • Customize memory allocation operators to optimize performance for specific applications

Kompetenzen, die Sie erwerben

  • Kategorie: Memory Management
  • Kategorie: Computer Programming
  • Kategorie: Performance Tuning
  • Kategorie: Debugging
  • Kategorie: Real Time Data
  • Kategorie: Data Structures

Werkzeuge, die Sie lernen werden

  • Kategorie: C (Programming Language)
  • Kategorie: C and C++
  • Kategorie: C++ (Programming Language)

Wichtige Details

Zertifikat zur Vorlage

Zu Ihrem LinkedIn-Profil hinzufügen

Kürzlich aktualisiert!

November 2026

Bewertungen

17 Aufgaben

Unterrichtet in Englisch

In diesem Kurs gibt es 16 Module

This module delves into the core concepts of C++ memory management, focusing on how objects, pointers, and references are used to control and manipulate memory. Learners will gain an understanding of object lifetime, memory layout, and the behavior of copy and move operations. The content prepares students to write efficient and safe C++ code by exploring low-level memory mechanics.

Das ist alles enthalten

1 Video7 Lektüren1 Aufgabe

This module explores common pitfalls in C++ programming, including undefined behavior, implementation-defined behavior, and unsafe type conversions. Learners will gain a deeper understanding of how to write reliable and portable code by avoiding risky practices. The content emphasizes the importance of careful memory management and type safety.

Das ist alles enthalten

1 Video4 Lektüren1 Aufgabe

This module delves into the mechanics of type conversion in C++ through casts and cv-qualifications. Learners will gain an understanding of how to safely manage type integrity and control memory access. The focus is on practical applications of casting mechanisms and their implications in program behavior.

Das ist alles enthalten

1 Video3 Lektüren1 Aufgabe

This module covers the role of destructors in C++ for managing resources and ensuring clean code. It explains the RAII idiom, discusses best practices for object lifetime and memory management, and highlights the importance of avoiding exceptions in destructors.

Das ist alles enthalten

1 Video5 Lektüren1 Aufgabe

This module covers the fundamentals of using C++ standard smart pointers, such as std::unique_ptr and std::shared_ptr, to manage resources safely and efficiently. Learners will gain an understanding of ownership semantics, memory management, and best practices for using these tools in modern C++ programming. The module also explores scenarios where raw pointers are still appropriate.

Das ist alles enthalten

1 Video8 Lektüren1 Aufgabe

This module delves into the implementation and usage of smart pointers in C++, focusing on ownership semantics, memory management, and the creation of custom smart pointer types. Learners will gain a deep understanding of how to safely manage resources and avoid common pitfalls in C++ programming. The content also covers advanced topics like type traits and performance considerations.

Das ist alles enthalten

1 Video6 Lektüren1 Aufgabe

This module explores advanced techniques for custom memory allocation in C++, focusing on the use and customization of new and delete operators. Learners will gain a deep understanding of how to control memory management, including non-throwing versions and placement new. The module also introduces C++20's destroying delete feature for more efficient object destruction.

Das ist alles enthalten

1 Video6 Lektüren1 Aufgabe

This module guides learners through the process of building a basic memory leak detector in C++. It covers operator overloading, thread safety, and memory tracking techniques, providing hands-on experience with low-level programming concepts.

Das ist alles enthalten

1 Video6 Lektüren1 Aufgabe

This module delves into advanced C++ memory management techniques, including placement new, nothrow new, and custom new handlers. Learners will explore how to handle out-of-memory scenarios and manage exotic memory types in standard C++ programs. The module provides practical examples and code implementations to reinforce understanding of atypical allocation mechanisms.

Das ist alles enthalten

1 Video6 Lektüren1 Aufgabe

This module delves into advanced memory management techniques, focusing on arena-based allocation and size-based algorithms. Learners will gain practical insights into optimizing performance and reducing memory fragmentation in software systems. Through real-world examples and testing, students will understand how to implement and evaluate specialized memory strategies.

Das ist alles enthalten

1 Video7 Lektüren1 Aufgabe

This module explores the concept of deferred reclamation in C++, focusing on how to delay object destruction to improve performance and manage memory more efficiently. It covers different implementations, including reclamation without finalization, with finalization at program end, and on-demand reclamation at the end of a scope. Learners will gain a clear understanding of how to implement and use deferred reclamation techniques in real-world programs.

Das ist alles enthalten

1 Video5 Lektüren1 Aufgabe

This module explores the implementation of generic containers in C++ with a focus on explicit memory management. Learners will gain skills in designing efficient and safe container structures, applying standard memory algorithms, and understanding exception safety in dynamic data structures.

Das ist alles enthalten

1 Video9 Lektüren1 Aufgabe

This module explores how to implement generic containers with implicit memory management, focusing on the benefits and techniques for simplifying memory handling in Vector<T> and ForwardList<T>. Learners will understand how to apply these strategies to enhance code efficiency and maintainability.

Das ist alles enthalten

1 Video3 Lektüren1 Aufgabe

This module explores the implementation of allocator-aware containers in C++, focusing on memory management techniques, practical applications, and advanced strategies for optimizing container behavior. Learners will gain insights into how allocators interact with containers and how to manage memory efficiently in real-world coding scenarios.

Das ist alles enthalten

1 Video9 Lektüren1 Aufgabe

This module delves into advanced topics in C++ memory management, focusing on techniques such as object lifetime control, trivial relocation, and type-aware allocation. Learners will gain insights into optimizing resource usage and handling complex memory scenarios without relying on traditional constructors.

Das ist alles enthalten

1 Video4 Lektüren1 Aufgabe

This module introduces essential C++ concepts such as struct, class, size_t, and undefined behavior, along with the use of standard library algorithms and the decltype operator. Learners will gain a deeper understanding of type systems, memory management, and design patterns to improve code reliability and performance.

Das ist alles enthalten

1 Video4 Lektüren2 Aufgaben

Dozent

Packt - Course Instructors
Packt
2.690 Kurse785.579 Lernende

von

Packt

Was führt Sie heute zu Coursera?

  • cplus logo

    Eignen Sie sich Fähigkeiten an, die ein Leben lang halten -- jetzt für 239 $

    $239/year
  • Coursera for Teams

    Verleihen Sie Ihrem Team neue Fähigkeiten

Warum entscheiden sich Menschen für Coursera für ihre Karriere?

Felipe M.

Lernender seit 2018
„Es ist eine großartige Erfahrung, in meinem eigenen Tempo zu lernen. Ich kann lernen, wenn ich Zeit und Nerven dazu habe.“

Jennifer J.

Lernender seit 2020
„Bei einem spannenden neuen Projekt konnte ich die neuen Kenntnisse und Kompetenzen aus den Kursen direkt bei der Arbeit anwenden.“

Larry W.

Lernender seit 2021
„Wenn mir Kurse zu Themen fehlen, die meine Universität nicht anbietet, ist Coursera mit die beste Alternative.“

Chaitanya A.

„Man lernt nicht nur, um bei der Arbeit besser zu werden. Es geht noch um viel mehr. Bei Coursera kann ich ohne Grenzen lernen.“

Häufig gestellte Fragen