Hi,
When we allocate memory from the heap using malloc(), calloc()
or new, we get a valid pointer to the allocated memory.
Given this pointer, is it possible to get the number of bytes allocated?
Thanks in advance.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Thread: On allocation from the heapThreaded View
|
Click Here to Expand Forum to Full Width |