标签:
template <typename T> void fillingTable(T ***table, int row, int column, int defaultValue = STATE_NULL){ *table = new T*[row]; for (int r = 0; r < row; r++){ (*table)[r] = new T[column]; for (int c = 0; c < column; c++){ (*table)[r][c] = defaultValue; } } }
标签:
原文地址:http://www.cnblogs.com/mattins/p/4772779.html