Dynamically Allocating One Dimension of 3D Array

I am trying to figure out the syntax to dynamically allocate a single dimension of a triple dimensional array. Basically i have a 2D array of structs. but each struct is an array (basically rows of the information). The rows of this structure need to be allocated dynamically, but the height and width of the overarching structure are static.

Struct * ts_FieldInfo[100][100] = new Struct[Class.returndataitems()];

Hopefully that makes some sense.
Have you ever considered vectors? They resize as elements are inserted.
Last edited on
Interesting idea. Never thought of them three-dimensionally. Ill look into it, thank you
Topic archived. No new replies allowed.