Nov 26 2013, 04:39 AM
To expand on that, pointers are also used for dynamic memory allocation. You can create variables (arrays, structs, objects, vectors etc...) all during runtime which allows for much better memory management. You can not only create these real time, but you can also destroy them which gives the memory back to the heap.


![[-]](https://war-lords.net/forum/images/collapse.png)