Description: Implemented with vector (vector) opened a two-dimensional dynamic three-dimensional array, the memory address where the distribution of elements in the vector are also two-dimensional array with dual pointers achieve the same characteristics. But with the vector approach than simply using double pointer, will be safer when allocating memory space, the array initialization code more simple, so I recommend using the STL vector to achieve variable-length multidimensional arrays.
To Search:
File list (Check if you may need any files):
用vector(向量)实现动态开辟二维三维数组c%2B%2B语言及MPI.txt