Generalized Array

Did you ever think about declaring a multi-dimensional array dynamically? If so, I have created a class in C++ just for this.

So the problem goes like this: let an array a of type T, declare an array with n dimensions where n was inputted by the user.

The key is to think about a tree.

Both the implementation and an example can be found here:
Generalized Array

2 Responses to “Generalized Array”

  1. Cederash Says:

    Мне нравятся Ваши посты, заставляет задуматься…

  2. dranaxum Says:

    English please. :)


Leave a Reply