Hi I'm new to Visual C++, previously I was able to write a function that dynamically allocate memory for multidimensional arrays [][][]. How can I define a class that will do the same job of returning a pointer to different memory space for different, for example;
*(int) - for a single dim
** (int) - for double dim
*** (int) - for triple dim
*(int) - for a single dim
** (int) - for double dim
*** (int) - for triple dim