[C++] How do i initialize the size of a 3D Array in c++ in a method

No arrays in c++ are different from c# you will have to declare array as a pointer to pointer to poiner and allocate memory your self for dynamic arrays