Jump to content

RobertBeic

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by RobertBeic

  1. I have a rough concept of being able to return a variable length array of pointers allocated by calloc with the data also allocated by calloc where the pointer list ends with NULL. So a could traverse the data and stop when it hits null, just like a string. But Im not 100 on how to dealloc the array of data yet, dealloc on the array of pointers 1 with last member = NULL seems easy enough. I guess maybe I could calloc each member of the array of data and use the pointer array to pass the right memory address to free. Then write a function to possible conveniently wrap this usin
×
×
  • Create New...