Effective C++

Effective C++ pdf epub mobi txt 電子書 下載2025

出版者:電子工業齣版社
作者:[美] Scott Meyers
出品人:博文視點
頁數:319
译者:雲風評注
出版時間:2011-6
價格:65.00元
裝幀:
isbn號碼:9787121133763
叢書系列:博文視點評注版
圖書標籤:
  • C++
  • 編程
  • C/C++
  • 計算機
  • 雲風
  • Effective
  • 軟件開發
  • 編程技術
  • C++編程
  • 編程技巧
  • 高效編程
  • 麵嚮對象
  • 標準庫
  • 代碼優化
  • 設計模式
  • 內存管理
  • 模闆編程
  • 異常處理
想要找書就要到 小美書屋
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!

具體描述

“c++程序員可以分成兩類,讀過effective c++的和沒讀過的。”世界頂級c++大師scott meyers這部成名之作,與這句話一道在全球無數讀者間廣為傳頌。幾乎所有c++書籍推薦名單上﹐《effective c++:改善程序與設計的55個具體做法:第3版》都會位列三甲。作者高超的技術把握力、獨特的視角﹑詼諧輕鬆的寫作風格﹑獨具匠心的內容組織﹐都受到極大的推崇和仿效。

對於國外技術圖書,選擇翻譯版還是影印版,常讓人陷入兩難。本評注版力邀國內資深專傢執筆,在英文原著基礎上增加中文點評與注釋,旨在融閤二者之長,既保留經典的原創文字與味道,又以先行者的學研心得與實踐感悟,對讀者閱讀與學習加以點撥、指明捷徑。

經過評注的版本,更值得反復閱讀與體會。希望這《effective c++:改善程序與設計的55個具體做法:第3版》能夠幫助您跨越c++的重重險阻,領略高處纔有的壯美風光,做一個成功而快樂的c++程序員。

著者簡介

Scott Meyers是全世界最知名的C++軟件開發專傢之一。他是暢銷書《Effective C++》係列(Effective C++,More Effective C++,Effective STL)的作者,又是創新産品《Effective C++ CD》的設計者和作者,也是Addison-Wesley的“Effective Software Development Series”顧問編輯,以及《Software Development》雜誌谘詢闆成員。他也為若乾新公司的技術谘詢闆提供服務。Meyers於1993年自Brown大學獲得計算機博士學位。

圖書目錄

introduction(新增批注共2條) 1
chapter 1: accustoming yourself to c++
(新增批注共12條) 11
item 1: view c++ as a federation of languages. 11
item 2: prefer consts, enums, and inlines to #defines. 14
item 3: use const whenever possible. 19
item 4: make sure that objects are initialized before they’re used. 28
chapter 2: constructors, destructors, and assignment
operators(新增批注共9條) 37
item 5: know what functions c++ silently writes and calls. 37
item 6: explicitly disallow the use of compiler-generated functions
you do not want. 41
item 7: declare destructors virtual in polymorphic base classes. 43
item 8: prevent exceptions from leaving destructors. 49
item 9: never call virtual functions during construction or destruction. 53
item 10: have assignment operators return a reference to *this. 57
item 11: handle assignment to self in operator=. 58
item 12: copy all parts of an object. 62
chapter 3: resource management(新增批注共7條) 66
.item 13: use objects to manage resources. 66
item 14: think carefully about copying behavior in resource-managing classes. 71
item 15: provide access to raw resources in resource-managing classes. 74
item 16: use the same form in corresponding uses of new and delete. 78
item 17: store newed objects in smart pointers in standalone statements. 80
chapter 4: designs and declarations(新增批注共28條) 83
item 18: make interfaces easy to use correctly and hard to use incorrectly. 83
item 19: treat class design as type design. 89
item 20: prefer pass-by-reference-to-const to pass-by-value. 91
item 21: don’t try to return a reference when you must return an object. 96
item 22: declare data members private. 101
item 23: prefer non-member non-friend functions to member functions. 105
item 24: declare non-member functions when type conversions should
apply to all parameters. 109
item 25: consider support for a non-throwing swap. 113
chapter 5: implementations(新增批注共42條) 122
item 26: postpone variable definitions as long as possible. 122
item 27: minimize casting. 125
item 28: avoid returning “handles” to object internals. 133
item 29: strive for exception-safe code. 137
item 30: understand the ins and outs of inlining. 146
item 31: minimize compilation dependencies between files. 152
chapter 6: inheritance and object-oriented design
(新增批注共39條) 162
item 32: make sure public inheritance models “is-a.” 163
item 33: avoid hiding inherited names. 169
item 34: differentiate between inheritance of interface and inheritance of
implementation. 174
item 35: consider alternatives to virtual functions. 183
item 36: never redefine an inherited non-virtual function. 192
item 37: never redefine a function’s inherited default parameter value. 194
item 38: model “has-a” or is-implemented-in-terms-of” through composition. 198
item 39: use private inheritance judiciously. 201
item 40: use multiple inheritance judiciously. 207
chapter 7: templates and generic
programming(新增批注共28條) 215
item 41: understand implicit interfaces and compile-time polymorphism. 216
item 42: understand the two meanings of typename. 220
item 43: know how to access names in templatized base classes. 225
item 44: factor parameter-independent code out of templates. 230
item 45: use member function templates to accept “all compatible types.” 235
item 46: define non-member functions inside templates when type
conversions are desired. 240
item 47: use traits classes for information about types. 245
item 48: be aware of template metaprogramming. 251
chapter 8: customizing new and delete
(新增批注共17條) 258
item 49: understand the behavior of the new-handler. 259
item 50: understand when it makes sense to replace new and delete. 267
item 51: adhere to convention when writing new and delete. 272
item 52: write placement delete if you write placement new. 276
chapter 9: miscellany(新增批注共8條) 283
item 53: pay attention to compiler warnings. 283
item 54: familiarize yourself with the standard library, including tr1. 284
item 55: familiarize yourself with boost. 290
appendix a: beyond effective c++ 295
appendix b: item mappings between second
and third editions 299
index 302
· · · · · · (收起)

讀後感

評分

虽然多年前在本科课程中学过C++,但之后的几年里,C++主要被我用来进行简单的算法实现或者简单的学术仿真程序的编写,一直没有深入实践过“面向对象的C++”、“泛型的C++”。因此,自己还是一个彻头彻尾的C++初学者。这里从初学者的角度谈谈读了这本书以后对C++的几点新理解新...  

評分

对于C++,一直未窥门径。大学时就一直在学C++,却发现只是简单的蜻蜓点水。尤其对于C++中一些很重要的部分,如Template,STL,Exception机制等部分更是少有涉及。接着看了Lippman的C++ Primer,书很长确是详细完整的介绍了C++。但只是了解到了C++的一些机制,往往是从一种应该如...  

評分

之前看过这本书,这次看的是云风的评注,我觉得这些评注很有价值。对于C++这门语言我是既爱又恨,既以懂得C++为傲,有为使用这门语言遇到的种种问题和阻力深感尴尬。 对C++的态度,经由那次Linus引发的大讨论,我知道云风现在是理解之而尽量不用之。很多点有共鸣,但未讨论详细...  

評分

这本书是c++中经典的经典。英文版语言诙谐幽默,当然,侯捷先生也翻译的很好。首先这本书的每一个条款都是非常有用的,很实用,作者的讲解也很深刻。其次,把深刻的东西用浅显易懂的语言表述下来,这就是Effective c++。这本书非常适合有一定经验的c++开发人员仔细阅读,甚至读...  

評分

C++强大而复杂,复杂的机制是把双刃剑,给写程序带来无限灵活性的同时,也带来的容易出错的隐患。这本书告诉了我们在C++里存在的这样那样的陷阱,也指引程序员应该怎么样用和不应该怎样用。书里设定了很多应用场景,需要不断应用才能深入领会。

用戶評價

评分

雲風的評注字字珠璣,非常值得一讀。

评分

Scotter Meyers的文筆太贊瞭,雖非母語閱讀,也能感受到其中的流暢與幽默。關於虛函數,純虛函數的章節是就這個話題最經典的論述,值得反復體味。

评分

很不錯的,不過後麵的部分不是很瞭解,因此準備再看primer之後再看一遍

评分

雲風的評注字字珠璣,非常值得一讀。

评分

想看看雲風的評注

本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有