I'd try declaring the array using pointer to pointer syntax within the declaration of the struct. Then within the constructor I'd use dynamic memory to declare the memory. The dimensions could be hard coded or "user supplied". The destructor would probably release the memory declared. Assuming you are using C++ style structs, that is.
Lerner
Nearly a Posting Maven
2,382 posts since Jul 2005
Reputation Points: 739
Solved Threads: 396