读书笔记
文章平均质量分 70
Geek4IT
叶椿建
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++Primer读书笔记(1)-声明和定义
最近又捡起《C++ Primer》重读,随便将一些小知识点总结一下吧。 C++程序通常由许多文件组成,为了让多个文件访问相同的变量,c++区分了声明和定义 1.Declarations and Definitions A defination of a variable allocates storage for the variable andmayalso specify原创 2012-10-21 14:58:42 · 447 阅读 · 0 评论 -
What is the single most influential book every programmer should read?
这是在StackOverflow的投票,好强大的书单,看看自己都拜读过那几本? 最近初略看完了《C++ primer》,第二遍了,路漫漫其远修兮,这个估计得隔一段时间重翻出来一下。 《Effective C++》已经准备好了... 详见:http://stackoverflow.com/questions/1711/what-is-the-single-most-influential-bo原创 2012-10-30 17:10:30 · 641 阅读 · 0 评论 -
C++Primer读书笔记(2)-引用和类型
2.5 A reference serves as a alternative name for an object. In real-world programs,reference are primarily used as formal parameters to functions. int ival=1024; int &refVal=ival; //ok: refVal ref原创 2012-10-21 15:36:32 · 524 阅读 · 0 评论 -
Effective C++读书笔记(1)-Introduction
----------------------------- Scott Meyers*Third Edition------------------------------------ If you follow all the guidelines all the time, you are unlikely to fall into the most common traps原创 2012-11-01 09:03:42 · 412 阅读 · 0 评论 -
Effective C++阅读笔记(2)Item 1: View C++ as a federation of languages
Item 1: View C++ as a federation of languages Today's C++ is amultiparadigm programming language, one supporting a combination ofprocedural, object-oriented,functional, generic, andmetapr原创 2012-11-01 09:27:24 · 539 阅读 · 0 评论 -
Effective C++读书笔记(3)-Item 2: Prefer consts, enums, and inlines to #defines
Item 2: Prefer consts, enums, and inlines to #defines This Item might better be called "prefer the compiler to the preprocessor“ #define ASPECT_RATIO 1.653 The solution is to replace原创 2012-11-02 13:04:39 · 515 阅读 · 0 评论
分享