二维数组内存定义
// allocation int** array = new int *[iSizeY] for( int j = 0; j < iSizeY; j++) { array[j] = new int [iSizeX]; } // deallocation for( int j = 0; j < iSizeY; j++) { delete [] array[j]; } delete []array
二维数组作为函数参数
http://www.cnblogs.com/Anker/archive/2013/03/09/2951878.html