Suppose I have a function in the code of which I have further down I append elements to myvector
like this
Where does the allocation take place? On the stack? On the heap?
What do I need to know about freeing the memory?
Suppose I have a function in the code of which I have further down I append elements to myvector
like this
Where does the allocation take place? On the stack? On the heap?
What do I need to know about freeing the memory?
Last edited by feraudyh; 23rd June 2010 at 18:15. Reason: layout
Bookmarks