《C++ Primer(第4版)(评注版)》
基本信息
原书名: C++ Primer (4th Edition)
原出版社: Addison-Wesley Professional; 4 edition
作者: (美)Stanley B.Lippman Josee Lajoie Barbara E.Moo
译者: 陈硕
丛书名: 传世经典书丛
出版社:电子工业出版社
ISBN:9787121174414
上架时间:2012-8-9
出版日期:2012 年7月
开本:16开
页码:662
版次:1-1
所属分类: 计算机 > 软件与程序设计 > C++ > C++

 
 


更多关于 》》》《C++ Primer(第4版)(评注版)》
内容简介
书籍
计算机书籍
  《c++ primer》是一本系统而权威的c++教材,它全面而深入地讲解了c++语言及其标准库。本书作者stanley b. lippman在20世纪80年代早期即在c++之父bjarne stroustrup领导下开发c++编译器,另一作者josée lajoie曾多年担任c++标准委员会核心语言组主席,他们对这门编程语言的理解与把握非常人可比。本书对c++语法和语义的阐释兼具准确性与可读性,在坊间无出其右者。第4版更吸收了先进的c++教学经验,在内容组织上对初学者更加友好,详略得当且重点突出,使读者能更快上手编写有用的程序,也更适合自学。全球已有45万人通过该书的各个版本学习了c++编程。
  对于国外技术图书,选择翻译版还是影印版,常常让人陷入两难的境地。本评注版力邀国内资深专家执笔,在英文原著基础上增加中文点评与注释,旨在融合二者之长,既保留经典的原创文字与味道,又以先行者的学研心得与实践感悟,对读者阅读与学习加以点拨、指明捷径。
  经过评注的版本,更值得反复阅读与体会。希望这本书能够帮助您跨越c++的重重险阻,领略高处才有的壮美风光,做一个成功而快乐的c++程序员。
目录
《c++ primer(第4版)(评注版)》
preface xxiv
chapter 1 getting started (新增评注29 条)
1.1 writing a simple c++program
1.1.1 compiling and executing our program
1.2 afirstlookat input/output
1.2.1 standardinput andoutputobjects
1.2.2 aprogramthatuses the iolibrary
1.3 awordaboutcomments
1.4 control structures
1.4.1 the whilestatement
1.4.2 the forstatement
1.4.3 the ifstatement
1.4.4 readinganunknownnumberof inputs
1.5 introducingclasses
1.5.1 the sales_itemclass
1.5.2 afirstlookatmemberfunctions.
1.6 the c++program
part i the basics
chapter 2 variables and basic types(新增评注42 条)
2.1 primitivebuilt-intypes
2.1.1 integraltypes
2.1.2 floating-pointtypes
2.2 literalconstants
2.3 variables
2.3.1 what is avariable?
2.3.2 thenameof avariable
2.3.3 definingobjects
2.3.4 variableinitializationrules
2.3.5 declarations anddefinitions
2.3.6 scopeof aname
2.3.7 definevariableswheretheyareused
2.4 constqualifier
2.5 references
2.6 typedefnames
2.7 enumerations
2.8 classtypes
2.9 writing our own header files
2.9.1 designingourownheaders
2.9.2 abrief introductiontothepreprocessor
chapter 3 library types (新增评注30 条)
3.1 namespace usingdeclarations
3.2 library stringtype
3.2.1 defining and initializing strings
3.2.2 reading andwriting strings
3.2.3 operations on strings
3.2.4 dealing with the characters of a string
3.3 library vectortype
3.3.1 defining and initializing vectors
3.3.2 operations on vectors
3.4 introducingiterators
3.4.1 iteratorarithmetic
3.5 library bitsettype
3.5.1 defining and initializing bitsets
3.5.2 operations on bitsets
chapter 4 arrays and pointers (新增评注33 条)
4.1 arrays
4.1.1 definingandinitializingarrays
4.1.2 operationsonarrays
4.2 introducingpointers
4.2.1 what is apointer?
4.2.2 definingandinitializingpointers
4.2.3 operationsonpointers
4.2.4 usingpointers toaccessarrayelements
4.2.5 pointers and the constqualifier
4.3 c-stylecharacterstrings
4.3.1 dynamicallyallocatingarrays
4.3.2 interfacingtooldercode
4.4 multidimensionedarrays
4.4.1 pointers andmultidimensionedarrays
chapter 5 expressions (新增评注49 条)
5.1 arithmeticoperators
5.2 relational andlogicaloperators
5.3 thebitwiseoperators
5.3.1 using bitsetobjectsor integralvalues
5.3.2 usingthe shiftoperators for io
5.4 assignmentoperators
5.4.1 assignment isrightassociative
5.4.2 assignmenthaslowprecedence
5.4.3 compoundassignmentoperators
5.5 increment anddecrementoperators
5.6 thearrowoperator
5.7 theconditionaloperator
5.8 the sizeofoperator
5.9 commaoperator
5.10 evaluatingcompoundexpressions
5.10.1 precedence
5.10.2 associativity
5.10.3 orderofevaluation
5.11 the new and deleteexpressions
5.12 typeconversions
5.12.1 whenimplicittypeconversionsoccur
5.12.2 thearithmeticconversions
5.12.3 other implicitconversions
5.12.4 explicitconversions
5.12.5 whencastsmightbeuseful
5.12.6 namedcasts
5.12.7 old-stylecasts
chapter 6 statements (新增评注29 条)
6.1 simple statements
6.2 declarationstatements
6.3 compoundstatements (blocks)
6.4 statementscope
6.5 the ifstatement
6.5.1 the if statement elsebranch
6.6 the switchstatement
6.6.1 using a switch
6.6.2 control flow within a switch
6.6.3 the defaultlabel
6.6.4 switchexpressionandcaselabels
6.6.5 variable definitions inside a switch
6.7 the whilestatement
6.8 the forloopstatement
6.8.1 omitting parts of the forheader
6.8.2 multiple definitions in the forheader
6.9 the do whilestatement
6.10 the breakstatement
6.11 the continuestatement
6.12 the gotostatement
6.13 tryblocks andexceptionhandling
6.13.1 a throwexpression
6.13.2 the tryblock
6.13.3 standardexceptions
6.14 using the preprocessor for debugging
chapter 7 functions (新增评注56 条)
7.1 definingafunction
7.1.1 functionreturntype
7.1.2 functionparameterlist
7.2 argumentpassing
7.2.1 nonreferenceparameters
7.2.2 referenceparameters
7.2.3 vectorandothercontainerparameters
7.2.4 arrayparameters
7.2.5 managingarrayspassedtofunctions
7.2.6 main:handlingcommand-lineoptions
7.2.7 functionswithvaryingparameters
7.3 the returnstatement
7.3.1 functionswithnoreturnvalue
7.3.2 functions thatreturnavalue
7.3.3 recursion
7.4 functiondeclarations
7.4.1 defaultarguments
7.5 localobjects
7.5.1 automaticobjects
7.5.2 staticlocalobjects
7.6 inline functions
7.7 classmemberfunctions
7.7.1 definingthebodyofamemberfunction
7.7.2 definingamemberfunctionoutside theclass
7.7.3 writing the sales_itemconstructor
7.7.4 organizing class code files
7.8 overloadedfunctions
7.8.1 overloadingandscope
7.8.2 functionmatchingandargumentconversions
7.8.3 thethreesteps inoverloadresolution
7.8.4 argument-typeconversions
7.9 pointers tofunctions
chapter 8 the io library(新增评注11 条)
8.1 anobject-orientedlibrary
8.2 condition states
8.3 managingtheoutputbuffer
8.4 file input and output
8.4.1 using file stream objects
8.4.2 file modes
8.4.3 a program to open and check input files
8.5 stringstreams
part ii containers and algorithms
chapter 9 sequential containers (新增评注54 条)
9.1 defininga sequentialcontainer
9.1.1 initializingcontainerelements
9.1.2 constraints ontypes that acontainercanhold
9.2 iterators anditeratorranges
9.2.1 iteratorranges
9.2.2 somecontaineroperations invalidateiterators
9.3 sequencecontaineroperations
9.3.1 containertypedefs
9.3.2 begin and endmembers
9.3.3 addingelements toasequentialcontainer
9.3.4 relationaloperators
9.3.5 container sizeoperations
9.3.6 accessingelements
9.3.7 erasingelements
9.3.8 assignment and swap
9.4 how a vectorgrows
9.4.1 capacity and reservemembers
9.5 decidingwhichcontainer touse
9.6 stringsrevisited
9.6.1 other ways to construct strings
9.6.2 other ways to change a string
9.6.3 string-onlyoperations
9.6.4 stringsearchoperations
9.6.5 comparing strings
9.7 containeradaptors
9.7.1 stackadaptor
9.7.2 queue andpriorityqueue
chapter 10 associative containers (新增评注22 条)
10.1 preliminaries: the pairtype
10.2 associativecontainers
10.3 the maptype
10.3.1 defining a map
10.3.2 types defined by map
10.3.3 adding elements to a map
10.3.4 subscripting a map
10.3.5 using map::insert
10.3.6 finding and retrieving a mapelement
10.3.7 erasing elements from a map
10.3.8 iterating across a map
10.3.9 awordtransformationmap
10.4 the settype
10.4.1 defining and using sets
10.4.2 buildingaword-exclusionset
10.5 the multimap and multisettypes
10.5.1 addingandremovingelements
10.5.2 finding elements in a multimap or multiset
10.6 usingcontainers: text-queryprogram
10.6.1 designof thequeryprogram
10.6.2 textqueryclass
10.6.3 using the textqueryclass
10.6.4 writingthememberfunctions
chapter 11 generic algorithms (新增评注18 条)
11.1 overview.
11.2 afirstlookat thealgorithms
11.2.1 read-onlyalgorithms
11.2.2 algorithms thatwritecontainerelements
11.2.3 algorithms thatreordercontainerelements
11.3 revisiting iterators
11.3.1 insert iterators
11.3.2 iostream iterators
11.3.3 reverse iterators
11.3.4 const iterators 7
11.3.5 thefive iteratorcategories
11.4 structureofgenericalgorithms
11.4.1 algorithmparameterpatterns
11.4.2 algorithmnamingconventions
11.5 container-specificalgorithms
part iii classes and data abstraction
chapter 12 classes 429(新增评注26 条)
12.1 classdefinitions anddeclarations
12.1.1 classdefinitions: arecap
12.1.2 dataabstractionandencapsulation
12.1.3 moreonclassdefinitions
12.1.4 classdeclarationsversusdefinitions
12.1.5 classobjects
12.2 the implicit thispointer
12.3 classscope
12.3.1 namelookupinclassscope
12.4 constructors
12.4.1 theconstructor initializer
12.4.2 defaultarguments andconstructors
12.4.3 thedefaultconstructor
12.4.4 implicitclass-typeconversions
12.4.5 explicit initializationofclassmembers
12.5 friends
12.6 staticclassmembers
12.6.1 staticmemberfunctions
12.6.2 staticdatamembers
chapter 13 copy control (新增评注30 条)
13.1 thecopyconstructor
13.1.1 the synthesizedcopyconstructor
13.1.2 definingourowncopyconstructor
13.1.3 preventingcopies
13.2 theassignmentoperator
13.3 thedestructor
13.4 amessage-handlingexample
13.5 managingpointermembers
13.5.1 definingsmartpointerclasses
13.5.2 defining valuelike classes
chapter 14 overloaded operations and conversions (新增评注31 条)
14.1 defininganoverloadedoperator
14.1.1 overloadedoperatordesign
14.2 input andoutputoperators
14.2.1 overloading the output operator [
14.2.2 overloading the input operator ]
14.3 arithmetic andrelationaloperators
14.3.1 equalityoperators
14.3.2 relationaloperators
14.4 assignmentoperators
14.5 subscriptoperator
14.6 memberaccessoperators
14.7 increment anddecrementoperators
14.8 calloperatorandfunctionobjects
14.8.1 usingfunctionobjectswithlibraryalgorithms
14.8.2 library-definedfunctionobjects
14.8.3 functionadaptors forfunctionobjects
14.9 conversions andclasstypes
14.9.1 whyconversionsareuseful
14.9.2 conversionoperators
14.9.3 argumentmatchingandconversions
14.9.4 overloadresolution andclassarguments
14.9.5 overloading,conversions, andoperators
part iv object-oriented and generic programming
chapter 15 object-oriented programming (新增评注56 条)
15.1 oop:anoverview
15.2 definingbaseandderivedclasses
15.2.1 definingabaseclass
15.2.2 protectedmembers
15.2.3 derivedclasses
15.2.4 virtualandothermemberfunctions
15.2.5 public,private,andprotectedinheritance
15.2.6 friendshipandinheritance
15.2.7 inheritance andstaticmembers
15.3 conversions andinheritance
15.3.1 derived-to-baseconversions
15.3.2 conversions frombasetoderived
15.4 constructors andcopycontrol
15.4.1 base-classconstructors andcopycontrol
15.4.2 derived-classconstructors
15.4.3 copycontrol andinheritance
15.4.4 virtualdestructors
15.4.5 virtuals inconstructors anddestructors
15.5 classscopeunder inheritance
15.5.1 namelookuphappensatcompiletime
15.5.2 name collisions and inheritance
15.5.3 scopeandmemberfunctions
15.5.4 virtualfunctions andscope
15.6 purevirtualfunctions
15.7 containers andinheritance
15.8 handleclassesandinheritance
15.8.1 a pointerlike handle
15.8.2 cloninganunknowntype
15.8.3 usingthehandle
15.9 textqueriesrevisited
15.9.1 anobject-orientedsolution
15.9.2 a valuelike handle
15.9.3 the query_baseclass
15.9.4 the queryhandleclass
15.9.5 thederivedclasses
15.9.6 the evalfunctions
chapter 16 templates and generic programming (新增评注31 条)
16.1 templatedefinitions
16.1.1 definingafunctiontemplate
16.1.2 definingaclasstemplate
16.1.3 templateparameters
16.1.4 templatetypeparameters
16.1.5 nontypetemplateparameters
16.1.6 writinggenericprograms
16.2 instantiation
16.2.1 templateargumentdeduction
16.2.2 function-templateexplicitarguments
16.3 templatecompilationmodels
16.4 classtemplatemembers
16.4.1 class-templatememberfunctions
16.4.2 templatearguments fornontypeparameters
16.4.3 frienddeclarations inclasstemplates
16.4.4 queue and queueitemfrienddeclarations
16.4.5 membertemplates
16.4.6 the complete queueclass
16.4.7 staticmembersofclasstemplates
16.5 agenerichandleclass
16.5.1 definingthehandleclass
16.5.2 usingthehandle
16.6 template specializations
16.6.1 specializingafunctiontemplate
16.6.2 specializingaclasstemplate
16.6.3 specializingmembersbutnot theclass
16.6.4 class-templatepartialspecializations
16.7 overloadingandfunctiontemplates
part v advanced topics
chapter 17 tools for large programs (新增评注37 条)
17.1 exceptionhandling
17.1.1 throwinganexceptionofclasstype
17.1.2 stackunwinding
17.1.3 catchinganexception
17.1.4 rethrow
17.1.5 thecatch-allhandler
17.1.6 functiontryblocks andconstructors
17.1.7 exceptionclasshierarchies
17.1.8 automaticresourcedeallocation
17.1.9 the auto_ptrclass
17.1.10exceptionspecifications
17.1.11functionpointerexceptionspecifications
17.2 namespaces
17.2.1 namespacedefinitions
17.2.2 nestednamespaces
17.2.3 unnamednamespaces
17.2.4 usingnamespacemembers
17.2.5 classes,namespaces,andscope
17.2.6 overloadingandnamespaces
17.2.7 namespacesandtemplates
17.3 multiple andvirtual inheritance
17.3.1 multiple inheritance
17.3.2 conversions andmultiplebaseclasses
17.3.3 copycontrol formultiplyderivedclasses
17.3.4 classscopeundermultiple inheritance
17.3.5 virtual inheritance
17.3.6 virtualbaseclassdeclaration
17.3.7 special initializationsemantics
chapter 18 specialized tools and techniques (新增评注22 条)
18.1 optimizingmemoryallocation
18.1.1 memory allocation in c++
18.1.2 the allocatorclass
18.1.3 operator new and operator deletefunctions
18.1.4 placement newexpressions
18.1.5 explicitdestructor invocation
18.1.6 class specific new and delete
18.1.7 amemory-allocatorbaseclass
18.2 run-timetypeidentification
18.2.1 the dynamic_castoperator
18.2.2 the typeidoperator
18.2.3 usingrtti
18.2.4 the type_infoclass
18.3 pointer toclassmember
18.3.1 declaringapointer tomember
18.3.2 usingapointer toclassmember
18.4 nestedclasses
18.4.1 anested-class implementation
18.4.2 namelookupinnestedclassscope
18.5 union: aspace-savingclass
18.6 localclasses
18.7 inherentlynonportablefeatures
18.7.1 bit-fields
18.7.2 volatilequalifier
18.7.3 linkage directives: extern "c"
appendix a the library
a.1 librarynames andheaders
a.2 abrieftourof thealgorithms
a.2.1 algorithms tofindanobject
a.2.2 otherread-onlyalgorithms
a.2.3 binary-searchalgorithms
a.2.4 algorithms thatwritecontainerelements
a.2.5 partitioningandsortingalgorithms
a.2.6 generalreorderingoperations
a.2.7 permutationalgorithms
a.2.8 setalgorithms for sortedsequences
a.2.9 minimumandmaximumvalues
a.2.10 numericalgorithms
a.3 the iolibraryrevisited
a.3.1 formatstate
a.3.2 manymanipulatorschangetheformatstate.
a.3.3 controlling output formats
a.3.4 controlling input formatting
a.3.5 unformattedinput/outputoperations
a.3.6 single-byteoperations
a.3.7 multi-byteoperations
a.3.8 randomaccess toastream
a.3.9 reading andwriting to the same file

本图书信息来源于:中国互动出版网

C++ Primer(第4版)(评注版)相关推荐

  1. 《C Primer Plus(第6版)中文版》一第1章 初识C语言1.1 C语言的起源

    本节书摘来自异步社区<C Primer Plus(第6版)中文版>一书中的第1章,第1.1节,作者 傅道坤,更多章节内容可以访问云栖社区"异步社区"公众号查看. 第1章 ...

  2. C++Primer Plus (第六版)阅读笔记 + 源码分析【目录汇总】

    C++Primer Plus (第六版)阅读笔记 + 源码分析[第一章:预备知识] C++Primer Plus (第六版)阅读笔记 + 源码分析[第二章:开始学习C++] C++Primer Plu ...

  3. 重构:改善既有代码的设计(评注版) 评注者序

    重构:改善既有代码的设计(评注版) 评注者序   评注者序 近十年来,若要讨论如何改进代码的质量,很难绕过Martin Fowler的这本经典著作.这本书已经影响了几代程序员,或许会持续不断地影响未来 ...

  4. C++ Primer中文版(第4版 特别版)

    简单介绍:什么:哈哈.怎么向家里交代啊,你别误会?你是来找我们的吧,于是.其他人也全部靠在了我的身边.头剪得就 本文写于:2012年10月03日;更不是弓箭手 计划:什么:哈哈.怎么向家里交代http ...

  5. Java编程思想(第4版)(评注版)

    传世经典书丛  Java编程思想(第4版)(评注版)  (美)埃克尔(Eckel, B.)著 刘中兵评注 ISBN 978-7-121-13521-7 2011年6月出版 定    价:108.00元 ...

  6. 重构:改善既有代码的设计(评注版)

    传世经典书丛  重构:改善既有代码的设计(评注版)  MartinFowler,Kent Beck,John Brant,William Opdyke,Don Roberts(马丁.福勒,肯特.贝克, ...

  7. 《C++ Primer中文版(第五版)》 第九章 顺序容器

    <C++ Primer中文版(第五版)> 第九章 顺序容器 元素在顺序容器中的顺序与其加入容器时的位置相对应.关联容器中元素的位置由元素相关联的关键字值决定. 所有容器都共享公共的接口,不 ...

  8. C++ Primer Plus (第五版)中文版 勘误表

    最的第六版出来了,听说和五版相同,只是多了一章C++11的内容,于是于,我还是学五版吧. 同样五版有错误,引用这个勘误表:http://blog.csdn.net/woxing615701/artic ...

  9. C++ Primer Plus(第六版)第十章课后习题

    C++ Primer Plus(第六版)第十章课后习题 10.10.1 10.10.1.h #ifndef d #define d #include class bank { private: std ...

最新文章

  1. Linux知识积累(6) 系统目录及其用途
  2. python按行求和_Python第一篇:对3个Excel文件进行整合
  3. 【django】配置MySQL数据库【3】
  4. DataGrip按某列大小对数据集进行排序
  5. javascript常用判断写法
  6. kotlin 覆盖属性_Kotlin程序| 方法覆盖的示例
  7. shell 中浮点数和整数的比较
  8. 如何将linux内核的带级别控制的printk内容打印出来
  9. 360度全面抵御黑客攻击的新型芯片来了!
  10. 后台系统上传文件回显上传进度条
  11. 【开发经验】在Flutter中使用dart的单例模式
  12. xcap发包工具的简单使用3(报文描述)
  13. HTML+CSS+JavaScript仿京东购物商城网站 web前端制作服装购物商城 html电商购物网站
  14. 学生管理-axios优化
  15. 关于5G数据中心:数据中心在5G无线网络系统中的作用
  16. 计算距离春节还有多长时间
  17. 利用PE安装ISO镜像(以及精简版镜像)/安装忍术渗透系统
  18. YOLOv5 5.0版本检测FPS
  19. 基于 ESP32 的高级气象站,带有 BME280 和实时天气数据
  20. JMM内存模型 多线程三大特性

热门文章

  1. IOS一些显示效果和动画效果资料
  2. wps 2016 个人版 重新开始编号
  3. 你知道实习对你有多重要吗?
  4. VS Code - Debugger for Chrome调试JavaScript的两种方式
  5. BZOJ1315 : Ural1557Network Attack
  6. 关于String数组的用法
  7. RHEL5 install
  8. SMS2003 SP3+SQL Server2000 SP4部署(下)
  9. 大家帮忙.谢谢!..(急急急急急)
  10. 对象----《你不知道的JS》