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
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