Quantcast
Channel: User trojanfoe - Stack Overflow
Viewing all articles
Browse latest Browse all 226

Answer by trojanfoe for Filling Buffer with Elements of Different Lengths Without Max length - C

$
0
0

Probably not what you’re looking for, but if I was approaching this problem I would be tempted to build a linked list of pointers to the elements first and have a function to flatten the list out into a single chunk of data.

Each element in both the list and the array would need a header giving the data type and size in order to manage the data.


Viewing all articles
Browse latest Browse all 226

Trending Articles