2014年09月09 - I'm currently working through Zed Shaw's Learn C the Hard Way tutorials and I'm trying to understand what is on the stack and what is on the heap in the following example, and how free() is working.
2013年02月21 - Here's my structure A
B is another structure that contains a pointer to A
Later on I use below code
I need to delete/free all the memory pointed to by p
2012年05月09 - In my code I allocate a number of 2-dimensional arrays that I need to free up. However, every time I think I've grasped the concept of pointers, they keep surprising me by not doing what I expect them
2016年08月17 - I have a problem. I'm allocating space for a char*, but when I'm trying to free the space, my program crashes.
this is the code
The code above faile
2011年07月03 - I have question about pointers in C. Each pointer has 4 bytes in memory (address). When I call malloc() it only allocates memory and put it's address to the pointer, also free() only frees the memory
2013年01月29 - I run simulations on a Windows 64bit-computer with 64 GB RAM. Memory use reaches 55% and after a finished simulation run I remove all objects in the working space by rm(list=ls()), followed by a doubl
2009年03月28 - I'm currently working on a C based application am a bit stuck on freeingmemory in a non-antipattern fashion. I am a memory-management amateur.
2009年05月08 - What is the best way to FreeMemory in Flash ? Does it have a Garbage Collector ? How to invoke that GC ? How to make Objects applicable for Garbage Collection ?