0

Trivial question (perhaps): is the dynamical allocation of memory within the heap useful just to free up the stack's space?

could you please explain me how may I take advantage of this "dynamical allocation" and in which cases?

22nd Apr 2017, 11:27 PM
Mattia Varrone
Mattia Varrone - avatar
1 Odpowiedź
+ 1
Dynamical memory allocation is the technic of manually allocate and free memory in the heap. This method is discouraged. Use new and free instead. Is a more reliable method to manage memory.
23rd Apr 2017, 1:13 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar