- 博客(3)
- 资源 (9)
- 收藏
- 关注
转载 柔性数组
* 柔性数组即数组大小待定的数组 * C语言中结构体的最后一个元素可以是大小未知的数组 * C语言中可以由结构体产生柔性数组 #include #include typedef struct _soft_array { int len; int array[]; }SoftArray; int main() { int
2016-07-21 16:14:22 483
转载 do...while(0)的妙用
在C++中,有三种类型的循环语句:for, while, 和do...while, 但是在一般应用中作循环时, 我们可能用for和while要多一些,do...while相对不受重视。 但是,最近在读我们项目的代码时,却发现了do...while的一些十分聪明的用法,不是用来做循环,而是用作其他来提高代码的健壮性。 1. do...while(0)消除goto语句。 通常,如果在
2016-07-12 09:48:35 362
转载 Linux内核源码树学习:Kconfig和Makefile
Linux内核源码树的每个目录下都有两个文档Kconfig和Makefile。分布到各目录的Kconfig构成了一个分布式的内核配置数据库,每个Kconfig分别描述了所属目录源文档相关的内核配置菜单。在执行内核配置make menuconfig时,从Kconfig中读出菜单,用户选择后保存到.config的内核配置文档中。在内核编译时,主Makefile调用这个.config,就知道了用户的
2016-07-01 14:30:57 626
Hands.On.Machine.Learning.with.Scikit.Learn.and.TensorFlow
2017-11-07
Deep Learning 英文原版
2017-11-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人