图书介绍
C++Primer Plus 第6版 英文版 上PDF|Epub|txt|kindle电子书版本网盘下载
![C++Primer Plus 第6版 英文版 上](https://www.shukui.net/cover/75/30340414.jpg)
- (美)Stephen Prata著 著
- 出版社: 北京:人民邮电出版社
- ISBN:7115288240
- 出版时间:2012
- 标注页数:705页
- 文件大小:39MB
- 文件页数:715页
- 主题词:C语言-程序设计-教材-英文
PDF下载
下载说明
C++Primer Plus 第6版 英文版 上PDF格式电子书版下载
下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!
(文件页数 要大于 标注页数,上中下等多册电子书除外)
注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具
图书目录
Introduction1
1 Getting Started with C++9
Learning C++:What Lies Before You10
The Origins of C++:A Little History10
Portability and Standards15
The Mechanics of Creating a Program18
Summary25
2 Setting Out to C++27
C++ lnitiation27
C++ Statements41
More C++ Statements45
Functions48
Summary61
Chapter Review62
Programming Exercises62
3 Dealing with Data65
Simple Variables66
The const Qualifier90
Floating-Point Numbers92
C++ Arithmetic Operators97
Summary109
Chapter Review110
Programming Exercises111
4 Compound Types115
Introducing Arrays116
Strings120
Introducing the string Class131
Introducing Structures140
Unions149
Enumerations150
Pointers and the Free Store153
Pointers,Arrays,and Pointer Arithmetic167
Combinations of Types184
Array Alternatives186
Summary190
Chapter Review191
Programming Exercises192
5 Loops and Relational Expressions195
Introducing for Loops196
The while Loop224
The do while Loop231
The Range-Based for Loop(C++11)233
Loops and Text Input234
Nested Loops and Two-Dimensional Arrays244
Summary249
Chapter Review250
Programming Exercises251
6 Branching Statements and Logical Operators253
The if Statement254
Logical Expressions260
The cctype Library of Character Functions270
The?:Operator273
The switch Statement274
The break and continue Statements280
Number-Reading Loops283
Simple File Input/Output287
Summary298
Chapter Review298
Programming Exercises301
7 Functions:C++'s Programming Modules305
Function Review306
Function Arguments and Passing by Value313
Functions and Arrays320
Functions and Two-Dimensional Arrays337
Functions and C-Style Strings339
Functions and Structures343
Functions and string Class Objects353
Functions and array Objects355
Recursion357
Pointers to Functions361
Summary371
Chapter Review372
Programming Exercises374
8 Adventures in Functions379
C++ Inline Functions379
Reference Variables383
Default Arguments409
Function Overloading412
Function Templates419
Summary442
Chapter Review443
Programming Exercises444
9 Memory Models and Namespaces447
Separate Compilation447
Storage Duration,Scope,and Linkage453
Namespaces482
Summary497
Chapter Review498
Programming Exercises501
10 Objects and Classes505
Procedural and Object-Oriented Programming506
Abstraction and Classes507
Class Constructors and Destructors524
Knowing Your Objects:The this Pointer539
An Array of Objects546
Class Scope549
Abstract Data Types552
Summary557
Chapter Review558
Programming Exercises559
11 Working with Classes563
Operator Overloading564
Time on Our Hands:Developing an Operator Overloading Example565
Introducing Friends578
Overloaded Operators:Member Versus Nonmember Functions587
More Overloading:A Vector Class588
Automatic Conversions and Type Casts for Classes606
Summary621
Chapter Review623
Programming Exercises623
12 Classes and Dynamic Memory Allocation627
Dynamic Memory and Classes628
The New,Improved String Class647
Things to Remember WhenUsing new in Constructors659
Observations About Returning Objects662
Using Pointers to Objects665
Reviewing Techniques676
A Queue Simulation678
Summary699
Chapter Review700
Programming Exercises702