![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C
文章平均质量分 79
啊超
打算往嵌入式LINUX发展,多多指教!
展开
-
《高质量C++&C编程指南》笔记
1.在正式项目的头文件和定义文件中应该注意在头部注明版权和版本声明等细节2.适当的空行和空格3.学会对模块进行简要注释4.if语句 1) bool flag; if(flag) if(!flag) 2) int flag; if(flag == 0) if(fla原创 2011-07-18 09:13:15 · 598 阅读 · 0 评论 -
《The C Programming Language》笔记
1.int will normally be the natural size for a particular machine.short is often 16 bits long,and int either 16 or 32 bits.Each compiler is f原创 2011-07-19 16:55:06 · 759 阅读 · 0 评论 -
APUE 习题10.5 - Implementing Software Timer
这是我自己实现的版本,参考 Don Libes 的 Implementing Software Timer 我是用alarm实现的,好像不太精确,还有一个版本可以设定定时器的次数,可是随着次数增多精确度就成了不可忽略的问题了。 不排除有很多BUG, 而且有些细节没考虑。原创 2011-08-10 22:22:10 · 1536 阅读 · 0 评论