![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
2015编程学习笔记
OneWing被占用
略懂产品的程序员,深研zigbee,深处智能家居公司
展开
-
C专家编程 读书笔记1
1. 早期的C 1972-3 K&R C 1976-9 ANSI C 1983-9 (ANSI 美国国家标准化组织) 2. const的使用: const int limit = 10; const int *limitp = &limit; int i = 15; limitp = &i; printf("%d\n", *limitp); 以上原创 2015-02-08 15:17:36 · 449 阅读 · 0 评论 -
C陷阱与缺陷 读书笔记
C陷阱与缺陷 1. typedef用法: ① 定义一种类型别名,而不是简单的宏替换: char *pa,pb;(注意:pb并没有定义为指针,虽然你可能想这么定义它) typedef char* PCHAR PCHAR pa, pb; ② 用在旧的C代码中,帮助struct。以前的代码中,声明struct新对象时,必须带上struct,即形式为:struc结构名对象名,如原创 2015-02-08 14:48:54 · 819 阅读 · 0 评论