C++ Dynamic memory allocation
<p>I'm just learning about dynamic memory allocation, but there is one thing i'd like to be explained.</p>

<p>One use for dynamic allocation is for dynamic sized arrays, and thats clear to me. Another use is for normal objects.</p>

<p>What is a situation one should use it? Is it because normally objects are pushed on the stack, and could be popped of?</p>

<p>And how do you recognise a situation you should use dynamic memory allocation?</p>
