Quantcast
Channel: Pointers and dynamic memory
Browsing latest articles
Browse All 4 View Live

Pointers and dynamic memory

I believe I am right in saying...Each process is assigned an area of system memory for its heap. When the process exits, windows will de-assign that area, returning it to the unallocated resource...

View Article


Pointers and dynamic memory

So, how does the system know to release that memory?If I did this:MyClass class;That memory is created on the stack and will be released when the function returns, right? Does the OS assign some kind...

View Article


Pointers and dynamic memory

That will remain in memory until the application terminates.

View Article

Pointers and dynamic memory

If I have a function called Test() which does the following:MyClass* pMyClass = new MyClass();And it does not delete that allocated memory, is the memory freed when the program ends or does it remain...

View Article
Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>