lec16-dyn_mem_manage.pdf - CSCI 1120 Introduction to...

Info icon This preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CSCI 1120 Introduction to Computing Using C++ Dynamic Memory Management Fall 2016
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Outlines Dynamic Memory Management Dynamic Memory Management and Arrays 1-D array 2-D array Dynamic Memory Management and Objects Destructors 2
Image of page 2
Dynamic Memory Management Manage memory usage at runtime While you program is running, you can explicitly Allocate (or reserve) memory space to store data Release (or free up) the previously allocated memory space You cannot just store/access data anywhere you want in the memory. 3
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon