nested dynamic data structure
Posted on 2002-04-10
I have a possible need to use a nested dynamic data structure and was wondering if there is a common or well known approach to designing one.
I have data in 14 different kinds of blocks where each block contains several data types. I can have a variable
amount of 6 of these blocks.
The set of 14 blocks itself is a block which I will have
a varied amount.
I was going to make structures for each of the 14 blocks to handle the different data types in each type of block,
but I'm not sure how to encompass a set of variable length list of these structures.
unfortunately I didn't run into anything like this while going to school.
I wanted to see if someone could point me in the right direction with links to references of similiar problems or a description of how one might tackle this problem.