二维数组的创建释放
1.二维数据创建及释放 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 template<class T> void CreateArray(T** &aArray, const int aRow,const int aCol) { T** aArray = new T*[aRow]; for (int i = 0; i < aRow; ++i) { aArray[i] = new T[aCol]; } } template<class T> void ReleaseArray(T** &aArray, const