图书介绍
Essential C++注释版PDF|Epub|txt|kindle电子书版本网盘下载
- (美)斯坦利著 著
- 出版社: 北京:机械工业出版社
- ISBN:9787111312215
- 出版时间:2010
- 标注页数:290页
- 文件大小:65MB
- 文件页数:301页
- 主题词:C语言-程序设计-英文
PDF下载
下载说明
Essential C++注释版PDF格式电子书版下载
下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!
(文件页数 要大于 标注页数,上中下等多册电子书除外)
注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具
图书目录
Chapter 1:Basic C++ Programming1
1.1:How to Write a C++ Program1
1.2:Defining and Initializing a Data Object7
1.3:Writing Expressions10
1.4:Writing Conditional and Loop Statements15
1.5:How to UseArrays and Vectors22
1.6:Pointers Allow for Flexibility26
1.7:Writing and Reading Files30
Chapter 2:Procedural Programming35
2.1:How to Write a Function35
2.2:Invoking a Function41
2.3:Providing Default Parameter Values50
2.4:Using Local Static Objects53
2.5:Declaring a Function Inline55
2.6:Providing Overloaded Functions56
2.7:Defining and Using Template Functions58
2.8:Pointers to FunctionsAdd Flexiblity60
2.9:Setting Up a Header File63
Chapter 3:Generic Programming67
3.1:The Arithrnetic of Pointers68
3.2:Making Sense of Iterators73
3.3:Operations Common to All Containers76
3.4:Using the Sequential Containers77
3.5:Using the Generic Algorithms81
3.6:How to Design a Generic Algorithm83
3.7:Using a Map90
3.8:Using a Set91
3.9:How to Use Iterator Inserters93
3.10:Using the iostream Iterators95
Chapter 4:Object-Based Programming99
4.1:How to Implement a Class100
4.2:What Are Class Constructors and the Class Destructor?104
4.3:What Are mutable and const?109
4.4:What Is the this Pointer?113
4.5:Static Class Members115
4.6:Building an Iterator Class118
4.7:Collaboration Sometimes Requires Friendship123
4.8:Implementing a Copy Assignment Operator125
4.9:Implementing a Function Object126
4.10:Providing Class Instances of the iostrearn Operators128
4.11:Pointers to Class Member Functions130
Chapter 5:Object-Oriented Programming135
5.1:Object-Oriented Programming Concepts135
5.2:ATour of Object-Oriented Programming138
5.3:Polymorphism without Inheritance142
5.4:Defining an Abstract Base Class145
5.5:Defining a Derived Class148
5.6:Using an Inheritance Hierarchy155
5.7:How Abstract Should a Base Class Be?157
5.8:Initialization,Destruction,and Copy158
5.9:Defining a Derived Class Virtual Function160
5.10:Run-Time Type Identification164
Chapter 6:Programming with Templates167
6.1:Parameterized Types169
6.2:The Template Class Definition171
6.3:Handling Template Type Parameters172
6.4:Implementing the Template Class174
6.5:AFunction Template Output Operator180
6.6:Constant Expressions and Default Parameters181
6.7:Template Parameters as Strategy185
6.8:Member Template Functions187
Chapter 7:Exception Handling191
7.1:Throwing an Exception191
7.2:Catching an Exception193
7.3:Trying for an Exception194
7.4:Local Resource Management198
7.5:The Standard Exceptions200
Appendix A:Exercise Solutions205
Appendix B:Generic Algorithms Handbook255
Index271
注释277