Are there any ways to create a two dimensional array within a "struct" data structure?

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.