Andrew Koenig 是AT&T公司Shannon实验室大规模编程研究部门中的成员,同时也是C++标准委员会的项目编辑。他的编程经验超过30年,其中有15年在使用C++,他已经出版了超过150 篇和C++有关的论文,并且在世界范围内就这个主题进行过多次演讲。
Even C experts come across problems that require days ofdebugging to fix. This book helps to prevent such problems byshowing how C programmers get themselves into trouble. Each ofthe book's many examples has trapped a professional programmer. In addition to its examples, C Traps and Pitfalls offers adviceon: *avoiding off-by-one errors *understanding and constructing function declarations *understanding the subtle relationship between pointers andarrays Distilled from the author's experience over a decade ofprogramming in C, this book is an ideal resource for anyone,novice or expert, who has ever written a C program. 0201179288B04062001
很好的书,不是初级读物,但也不过于艰深,而且厚度刚刚好,让人在热情高涨阶段读完,不致于到了一半时间就气馁。 但令人感到遗憾的是,排版是太差了!代码缩进极其混乱,许多代码看上去参差不齐,该对齐的地方没对齐,对齐的长短不一,不该换行的地方换行,这种情况比比皆是...
评分【P97 -L5】 toupper(int c) { if(c >= 'a' && c <= 'z') c += 'A' ? 'a'; return c; } 看到这心想,哦印刷错误。翻过一页,说到把它实现为宏: #define toupper(c) ((c) >= 'a' && (c) <= 'z' ? (c) + ('A'?'a') : (c)) 然后就想知道原书是怎样...
评分c陷阱与缺陷笔记 书写的很薄。课后题答案和附录占了一大部分。很快就看完了。不过还算有收获。 这本书尤其是书后的采访特别值得一看,有点八卦的感觉。像BS啊lippman这些人还有这书的作者(这夫妻俩同事也是c++沉思录和accelerated c++的作者)都在同一个实验室工作过。还有写...
评分 评分这本书的主题是C中的各类细节,平时往往不会注意。 1.注释的嵌套性,怎么判断编译器是否允许嵌套注释。 2.运算符优先级,结合顺序,编译器贪婪 3.assert的实现方法,避免if 4.少敲一个分号导致各种血案 5.注意函数、if等的作用域。 6.注意字符集,防止移植性问题 7.变长参数,...
It's a collection of programming mistakes. It's very handy.
评分这本书很薄,大概是读过的书里面最薄的一本了,可能由于先读了Expert C Programming,再读这本书的时候收获并不是特别大
评分暂时退出该领域课程,若有机会自修math1081再说
评分深入内核和原理
评分It's a collection of programming mistakes. It's very handy.
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有