template <typename T>
void fillingTable(T ***table, int row, int column, int defaultValue = STATE_NULL){
*table = new T*[row];
for (int r = ; r < row; r++){
(*table)[r] = new T[column];
for (int c = ; c < column; c++){
(*table)[r][c] = defaultValue;
}
}
}
相关文章
- C语言学习笔记--函数
- C语言学习笔记--函数与指针
- python自动化 协程函数、二分查找、模块搜索
- jQuery的$.get()函数不执行以及php端报错Uncaught Error: Call to a member function bind_param() on boolean in...
- Mysql5.7自定义函数递归报错1424 Recursive stored functions and triggers are not allowed
- 比较好用的php函数
- c函数创建文件和路径
- MySQL自定义函数与存储过程的创建、使用、删除
- 归纳整理Linux下C语言常用的库函数----文件操作
- 拥抱函数式编程 I - 基本概念