Page 1 of 1

Dynamic sizing arrays in C,...

Posted: 11 Nov 2013 08:02
by keremg
God, i hate them,... :twisted: :x :cry:

There is something i would ask about the usage of HeapReAlloc (what malloc and realloc also internally uses on windows): Is it possible that there will be memory fragmentation while using them (i guess its very likely) and do i have to HeapCompact on the heap or is it rearranged by the system on each reallocation?

K.