Skip to content
0:00 / 0:00

#pointers#dynamicmemory#heap

Pointers and Dynamic Memory in C++ (Memory Management)

ReelLearning

41K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Beginner. No background in the topic needed.

388K views14 years ago1 recommendation

Programming languagesSystems programmingC++Memory management

An introduction to dynamic memory allocation, pointers, the heap, and memory management concepts in C++.

An introduction to using dynamic memory in C++. Concepts: Why we may need to allocate memory dynamically? new operator heap (free store) pointers to reference dynamically allocated memory delete operator garbage dangling pointers

Why it's here

1 person recommends this

What people say. Recommended as a clear explanation of what happens in the background for each line of code when learning memory concepts.

Moments people linked to

u/devJimmyin r/swift • Recommends

I want to take my Swift understanding to the next level Back when I was doing C++ in college, the moment Classes and objects clicked for me was watching a video where the tutor explained in detail what was occurring in the background for each line of code. This video. Skip through it to get a feel for what I mean link to this video I’ve been doing Swift for about a year and half now, and I know the how of things, not the why. I’m looking for an intuitive understanding of Swift especially topics like multithreading, and memory allocation. Like the video, I’d like to see drawings/pictures of the background activity as classes get instantiated, code is ran on separate threads, closures being queued of…
31View on Reddit