C
cerr
Hi There,
Let's say I have a structure array that changes its size (elements in
array) with realloc().
Is there a possibility for me to read how much memory is currently
allocated and how many elements are available or do i need to carry
the "number of elements" in a global variable forward?
Thank you,
Ron
Let's say I have a structure array that changes its size (elements in
array) with realloc().
Is there a possibility for me to read how much memory is currently
allocated and how many elements are available or do i need to carry
the "number of elements" in a global variable forward?
Thank you,
Ron