How do I realloc an array of pointers to a class?
CLASS* Pointer;
Pointer = realloc(Pointer, NumPointers * sizeof(CLASS));
How do I tell sizeof that I want the size of a pointer to CLASS and not the actual CLASS struct.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement