It's really important to know where the memory we are using comes from.
In this short tutorial, I explain what is the stack memory and the heap. I also show how to allocate memory from the heap using C++.
This is a clip from my tutorial series on How to Program a Simple Game in C++.
Watch the whole series here: • [Tutorial] How to program a game in C++
If you have any questions, make sure to drop them in the chat!
Thanks!