C++ Primer Plus(第6版)英文版(上下册)

C++ Primer Plus(第6版)英文版(上下册)
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
作者: [美] (Stephen Prata)
2015-04
版次: 02
ISBN: 9787115381118
定价: 128.00
装帧: 平装
开本: 16开
纸张: 胶版纸
页数: 1420页
字数: 1839千字
正文语种: 简体中文
原版书名: C++ Primer Plus(6th Edition)
  •   C++是在C语言基础上开发的一种集面向对象编程、泛型编程和过程化编程于一体的编程语言,是C语言的超集。《C++ Primer Plus(第6版)英文版(上、下册)》是根据2003年的ISO/ANSI C++标准编写的,通过大量短小精悍的程序详细而全面地阐述了C++的基本概念和技术,并专辟一章介绍了C++11新增的功能。
      全书分18章和10个附录,分别介绍了C++程序的运行方式、基本数据类型、复合数据类型、循环和关系表达式、分支语句和逻辑运算符、函数重载和函数模板、内存模型和名称空间、类的设计和使用、多态、虚函数、动态内存分配、继承、代码重用、友元、异常处理技术、string类和标准模板库、输入/输出、C++11新增功能等内容。
      《C++ Primer Plus(第6版)英文版(上、下册)》针对C++初学者,书中从C语言基础知识开始介绍,然后在此基础上详细阐述C++新增的特性,因此不要求读者有C语言方面的背景知识。
      《C++ Primer Plus(第6版)英文版(上、下册)》可作为高等院校C++课程的教材,也可供初学者自学C++时使用。   Stephen Prata在美国加州肯特菲尔得的马林学院教授天文、物理和计算机科学。他毕业于加州理工学院,在美国加州大学伯克利分校获得博士学位。他单独或与他人合作编写的编程图书有十多本,包括C++ Primer Plus的之前版本以及C Primer Plus,后者还获得了计算机出版联合会1991年度最佳“How-to”计算机图书奖提名。 上册

    Introduction 1

    1 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 25

    2 Setting Out to C++ 27
    C++ Initiation 27
    C++ Statements 41
    More C++ Statements 45
    Functions 48
    Summary 61
    Chapter Review 62
    Programming Exercises 62

    3 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 111

    4 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 192

    5 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 251

    6 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 301

    7 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 374

    8 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 444

    9 Memory Models and Namespaces 447
    Separate Compilation 447
    Storage Duration, Scope, and Linkage 453
    Namespaces 482
    Summary 497
    Chapter Review 498
    Programming Exercises 501

    10 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 559

    11 Working with Classes 563
    Operator Overloading 564
    Time on Our Hands: Developing an Operator Overloading Example 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
    ChapterReview 623
    Programming Exercises 623

    12 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

    下册

    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 780

    14 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 871

    15 Friends, Exceptions, and More 877
    F
  • 内容简介:
      C++是在C语言基础上开发的一种集面向对象编程、泛型编程和过程化编程于一体的编程语言,是C语言的超集。《C++ Primer Plus(第6版)英文版(上、下册)》是根据2003年的ISO/ANSI C++标准编写的,通过大量短小精悍的程序详细而全面地阐述了C++的基本概念和技术,并专辟一章介绍了C++11新增的功能。
      全书分18章和10个附录,分别介绍了C++程序的运行方式、基本数据类型、复合数据类型、循环和关系表达式、分支语句和逻辑运算符、函数重载和函数模板、内存模型和名称空间、类的设计和使用、多态、虚函数、动态内存分配、继承、代码重用、友元、异常处理技术、string类和标准模板库、输入/输出、C++11新增功能等内容。
      《C++ Primer Plus(第6版)英文版(上、下册)》针对C++初学者,书中从C语言基础知识开始介绍,然后在此基础上详细阐述C++新增的特性,因此不要求读者有C语言方面的背景知识。
      《C++ Primer Plus(第6版)英文版(上、下册)》可作为高等院校C++课程的教材,也可供初学者自学C++时使用。
  • 作者简介:
      Stephen Prata在美国加州肯特菲尔得的马林学院教授天文、物理和计算机科学。他毕业于加州理工学院,在美国加州大学伯克利分校获得博士学位。他单独或与他人合作编写的编程图书有十多本,包括C++ Primer Plus的之前版本以及C Primer Plus,后者还获得了计算机出版联合会1991年度最佳“How-to”计算机图书奖提名。
  • 目录:
    上册

    Introduction 1

    1 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 25

    2 Setting Out to C++ 27
    C++ Initiation 27
    C++ Statements 41
    More C++ Statements 45
    Functions 48
    Summary 61
    Chapter Review 62
    Programming Exercises 62

    3 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 111

    4 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 192

    5 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 251

    6 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 301

    7 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 374

    8 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 444

    9 Memory Models and Namespaces 447
    Separate Compilation 447
    Storage Duration, Scope, and Linkage 453
    Namespaces 482
    Summary 497
    Chapter Review 498
    Programming Exercises 501

    10 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 559

    11 Working with Classes 563
    Operator Overloading 564
    Time on Our Hands: Developing an Operator Overloading Example 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
    ChapterReview 623
    Programming Exercises 623

    12 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

    下册

    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 780

    14 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 871

    15 Friends, Exceptions, and More 877
    F
查看详情
12
您可能感兴趣 / 更多
C++ Primer Plus(第6版)英文版(上下册)
C++之旅(第3版)(英文版)
(美)本贾尼·斯特劳斯特鲁普
C++ Primer Plus(第6版)英文版(上下册)
C++趣味编程及算法入门 全国青少年软件编程等级考试与信息学竞赛通关指南(附600道习题+700个教学视频)
王桂平 等 编著
C++ Primer Plus(第6版)英文版(上下册)
C++那些事
程克非,张兴,崔晓通,秦蔚蓉
C++ Primer Plus(第6版)英文版(上下册)
C++编程这样学
胡芳
C++ Primer Plus(第6版)英文版(上下册)
C++程序设计案例教程(线上线下混合版)
杨卫明;李晓虹
C++ Primer Plus(第6版)英文版(上下册)
C++之旅(第3版)
[美]Bjarne Stroustrup(本贾尼 斯特劳斯特鲁普
C++ Primer Plus(第6版)英文版(上下册)
C++面向对象程序设计(第4版)
谭浩强
C++ Primer Plus(第6版)英文版(上下册)
C++高性能编程
(瑞典)比约恩 安德里斯特(Bj.rn Andrist),(瑞典)维克托 塞尔(Viktor Sehr)
C++ Primer Plus(第6版)英文版(上下册)
C++开发案例精讲
杨国兴 著
C++ Primer Plus(第6版)英文版(上下册)
C++ Concurrency in Action
Anthony Williams
C++ Primer Plus(第6版)英文版(上下册)
C++语言设计教程(计算机专业十四五精品教材)
苏菲、王芬、朱腾 编
C++ Primer Plus(第6版)英文版(上下册)
C++程序设计基础教程
丁卫平 程学云 陈文兰 主编;任红建 沈晓红 文万志 副主编
系列丛书 / 更多
C++ Primer Plus(第6版)英文版(上下册)
C++之旅(第3版)(英文版)
(美)本贾尼·斯特劳斯特鲁普
C++ Primer Plus(第6版)英文版(上下册)
C++趣味编程及算法入门 全国青少年软件编程等级考试与信息学竞赛通关指南(附600道习题+700个教学视频)
王桂平 等 编著
C++ Primer Plus(第6版)英文版(上下册)
C++那些事
程克非,张兴,崔晓通,秦蔚蓉
C++ Primer Plus(第6版)英文版(上下册)
C++编程这样学
胡芳
C++ Primer Plus(第6版)英文版(上下册)
C++程序设计案例教程(线上线下混合版)
杨卫明;李晓虹
C++ Primer Plus(第6版)英文版(上下册)
C++之旅(第3版)
[美]Bjarne Stroustrup(本贾尼 斯特劳斯特鲁普
C++ Primer Plus(第6版)英文版(上下册)
C++面向对象程序设计(第4版)
谭浩强
C++ Primer Plus(第6版)英文版(上下册)
C++高性能编程
(瑞典)比约恩 安德里斯特(Bj.rn Andrist),(瑞典)维克托 塞尔(Viktor Sehr)
C++ Primer Plus(第6版)英文版(上下册)
C++开发案例精讲
杨国兴 著
C++ Primer Plus(第6版)英文版(上下册)
C++ Concurrency in Action
Anthony Williams
C++ Primer Plus(第6版)英文版(上下册)
C++语言设计教程(计算机专业十四五精品教材)
苏菲、王芬、朱腾 编
C++ Primer Plus(第6版)英文版(上下册)
C++程序设计基础教程
丁卫平 程学云 陈文兰 主编;任红建 沈晓红 文万志 副主编
相关图书 / 更多
C++ Primer Plus(第6版)英文版(上下册)
C++之旅(第3版)(英文版)
(美)本贾尼·斯特劳斯特鲁普
C++ Primer Plus(第6版)英文版(上下册)
C++趣味编程及算法入门 全国青少年软件编程等级考试与信息学竞赛通关指南(附600道习题+700个教学视频)
王桂平 等 编著
C++ Primer Plus(第6版)英文版(上下册)
C++那些事
程克非,张兴,崔晓通,秦蔚蓉
C++ Primer Plus(第6版)英文版(上下册)
C++编程这样学
胡芳
C++ Primer Plus(第6版)英文版(上下册)
C++程序设计案例教程(线上线下混合版)
杨卫明;李晓虹
C++ Primer Plus(第6版)英文版(上下册)
C++之旅(第3版)
[美]Bjarne Stroustrup(本贾尼 斯特劳斯特鲁普
C++ Primer Plus(第6版)英文版(上下册)
C++面向对象程序设计(第4版)
谭浩强
C++ Primer Plus(第6版)英文版(上下册)
C++高性能编程
(瑞典)比约恩 安德里斯特(Bj.rn Andrist),(瑞典)维克托 塞尔(Viktor Sehr)
C++ Primer Plus(第6版)英文版(上下册)
C++开发案例精讲
杨国兴 著
C++ Primer Plus(第6版)英文版(上下册)
C++ Concurrency in Action
Anthony Williams
C++ Primer Plus(第6版)英文版(上下册)
C++语言设计教程(计算机专业十四五精品教材)
苏菲、王芬、朱腾 编
C++ Primer Plus(第6版)英文版(上下册)
C++程序设计基础教程
丁卫平 程学云 陈文兰 主编;任红建 沈晓红 文万志 副主编