注冊(cè) | 登錄讀書(shū)好,好讀書(shū),讀好書(shū)!
讀書(shū)網(wǎng)-DuShu.com
當(dāng)前位置: 首頁(yè)出版圖書(shū)科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì)C/C++及其相關(guān)C++ Primer Plus英文版(第6版 上、下冊(cè))

C++ Primer Plus英文版(第6版 上、下冊(cè))

C++ Primer Plus英文版(第6版 上、下冊(cè))

定 價(jià):¥128.00

作 者: (美)Stephen Prata 著
出版社: 人民郵電出版社
叢編項(xiàng):
標(biāo) 簽: VC++

購(gòu)買(mǎi)這本書(shū)可以去


ISBN: 9787115288240 出版時(shí)間: 2012-08-01 包裝: 平裝
開(kāi)本: 16開(kāi) 頁(yè)數(shù): 1420 字?jǐn)?shù):  

內(nèi)容簡(jiǎn)介

  C++是在C語(yǔ)言基礎(chǔ)上開(kāi)發(fā)的一種集面向?qū)ο缶幊?、泛型編程和過(guò)程化編程于一體的編程語(yǔ)言,是C語(yǔ)言的超集。《C++ PrimerPlus(第6版)英文版(上、下冊(cè))》是根據(jù)2003年的ISO/ANSIC++標(biāo)準(zhǔn)編寫(xiě)的,通過(guò)大量短小精悍的程序詳細(xì)而全面地闡述了C++的基本概念和技術(shù),并專(zhuān)辟一章介紹了C++11新增的功能。全書(shū)分18章和10個(gè)附錄,分別介紹了C++程序的運(yùn)行方式、基本數(shù)據(jù)類(lèi)型、復(fù)合數(shù)據(jù)類(lèi)型、循環(huán)和關(guān)系表達(dá)式、分支語(yǔ)句和邏輯運(yùn)算符、函數(shù)重載和函數(shù)模板、內(nèi)存模型和名稱(chēng)空間、類(lèi)的設(shè)計(jì)和使用、多態(tài)、虛函數(shù)、動(dòng)態(tài)內(nèi)存分配、繼承、代碼重用、友元、異常處理技術(shù)、string類(lèi)和標(biāo)準(zhǔn)模板庫(kù)、輸入/輸出、C++11新增功能等內(nèi)容?!禖++ PrimerPlus(第6版)英文版(上、下冊(cè))》針對(duì)C++初學(xué)者,書(shū)中從C語(yǔ)言基礎(chǔ)知識(shí)開(kāi)始介紹,然后在此基礎(chǔ)上詳細(xì)闡述C++新增的特性,因此不要求讀者有C語(yǔ)言方面的背景知識(shí)?!禖++ PrimerPlus(第6版)英文版(上、下冊(cè))》可作為高等院校C++課程的教材,也可供初學(xué)者自學(xué)C++時(shí)使用。

作者簡(jiǎn)介

暫缺《C++ Primer Plus英文版(第6版 上、下冊(cè))》作者簡(jiǎn)介

圖書(shū)目錄

上冊(cè)Introduction 11 Getting Started with C++ 9
Learning C++: What Lies Before You 10
The Origins of C++: A Little History 10
Portability and Standards 15
The Mechanics of Creating a Program 18
Summary 252 Setting Out to C++ 27
C++ Initiation 27
C++ Statements 41
More C++ Statements 45
Functions 48
Summary 61
Chapter Review 62
Programming Exercises 623 Dealing with Data 65
Simple Variables 66
The const Qualifier 90
Floating-Point Numbers 92
C++ Arithmetic Operators 97
Summary 109
Chapter Review 110
Programming Exercises 1114 Compound Types 115
Introducing Arrays 116
Strings 120
Introducing the string Class 131
Introducing Structures 140
Unions 149
Enumerations 150
Pointers and the Free Store 153
Pointers, Arrays, and Pointer Arithmetic 167
Combinations of Types 184
Array Alternatives 186
Summary 190
Chapter Review 191
Programming Exercises 1925 Loops and Relational Expressions 195
Introducing for Loops 196
The while Loop 224
The do while Loop 231
The Range-Based for Loop (C++11) 233
Loops and Text Input 234
Nested Loops and Two-Dimensional Arrays 244
Summary 249
Chapter Review 250
Programming Exercises 2516 Branching Statements and Logical Operators 253
The if Statement 254
Logical Expressions 260
The cctype Library of Character Functions 270
The ?: Operator 273
The switch Statement 274
The break and continue Statements 280
Number-Reading Loops 283
Simple File Input/Output 287
Summary 298
Chapter Review 298
Programming Exercises 3017 Functions: C++’s Programming Modules 305
Function Review 306
Function Arguments and Passing by Value 313
Functions and Arrays 320
Functions and Two-Dimensional Arrays 337
Functions and C-Style Strings 339
Functions and Structures 343
Functions and string Class Objects 353
Functions and array Objects 355
Recursion 357
Pointers to Functions 361
Summary 371
Chapter Review 372
Programming Exercises 3748 Adventures in Functions 379
C++ Inline Functions 379
Reference Variables 383
Default Arguments 409
Function Overloading 412
Function Templates 419
Summary 442
Chapter Review 443
Programming Exercises 4449 Memory Models and Namespaces 447
Separate Compilation 447
Storage Duration, Scope, and Linkage 453
Namespaces 482
Summary 497
Chapter Review 498
Programming Exercises 50110 Objects and Classes 505
Procedural and Object-Oriented Programming 506
Abstraction and Classes 507
Class Constructors and Destructors 524
Knowing Your Objects: The this Pointer 539
An Array of Objects 546
Class Scope 549
Abstract Data Types 552
Summary 557
Chapter Review 558
Programming Exercises 55911 Working with Classes 563
Operator Overloading 564
Time on Our Hands: Developing an Operator OverloadingExample 565
Introducing Friends 578
Overloaded Operators: Member Versus Nonmember Functions 587
More Overloading: A Vector Class 588
Automatic Conversions and Type Casts for Classes 606
Summary 621
Chapter Review 623
Programming Exercises 62312 Classes and Dynamic Memory Allocation 627
Dynamic Memory and Classes 628
The New, Improved String Class 647
Things to Remember When Using new in Constructors 659
Observations About Returning Objects 662
Using Pointers to Objects 665
Reviewing Techniques 676
A Queue Simulation 678
Summary 699
Chapter Review 700
Programming Exercises 702下冊(cè)13 Class Inheritance 707
Beginning with a Simple Base Class 708
Inheritance: An Is-a Relationship 720
Polymorphic Public Inheritance 722
Static and Dynamic Binding 737
Access Control: protected 745
Abstract Base Classes 746
Inheritance and Dynamic Memory Allocation 757
Class Design Review 766
Summary 778
Chapter Review 779
Programming Exercises 78014 Reusing Code in C++ 785
Classes with Object Members 786
Private Inheritance 797
Multiple Inheritance 808
Class Templates 830
Summary 866
Chapter Review 869
Programming Exercises 87115 Friends, Exceptions, and More 877
Friends 877
Nested Classes 889
Exceptions 896
Runtime Type Identification 933
Type Cast Operators 943
Summary 947
Chapter Review 947
Programming Exercises 94916 The string Class and the Standard Template Library 951
The string Class 952
Smart Pointer Template Classes 968
The Standard Template Library 978
Generic Programming 992
Function Objects (a.k.a. Functors) 1026
Algorithms 1035
Other Libraries 1045
Summary 1054
Chapter Review 1056
Programming Exercises 105717 Input, Output, and Files 1061
An Overview of C++ Input and Output 1062
Output with cout 1069
Input with cin 1093
File Input and Output 1114
Incore Formatting 1142
Summary 1145
Chapter Review 1146
Programming Exercises 114818 Visiting with the New C++ Standard 1153
C++11 Features Revisited 1153
Move Semantics and the Rvalue Reference 1164
New Class Features 1178
Lambda Functions 1184
Wrappers 1191
Variadic Templates 1197
More C++11 Features 1202
Language Change 1205
What Now? 1207
Summary 1208
Chapter Review 1209
Programming Exercises 1212Appendixes
A Number Bases 1215
B C++ Reserved Words 1221
C The ASCII Character Set 1225
D Operator Precedence 1231
E Other Operators 1235
F The string Template Class 1249
G The Standard Template Library Methods and Functions 1271
H Selected Readings and Internet Resources 1323
I Converting to ISO Standard C++ 1327
J Answers to Chapter Reviews 1335Index 1367

本目錄推薦

掃描二維碼
Copyright ? 讀書(shū)網(wǎng) m.ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)