作者简介 Stephen Prata在美国加州肯特菲尔得的马林学院教授天文、物理和计算机科学。他毕业于加州理工学院,在美国加州大学伯克利分校获得博士学位。他单独或与他人合作编写的编程图书有十多本,包括C++ Primer Plus的之前版本以及C Primer Plus,后者还获得了计算机出版联合会1991年度**佳“How-to”计算机图书奖提名。
目录 上册 Introduction 1 Getting Started with C++ Learning C++: What Lies Before You The Origins of C++: A Little History Portability and Standards The Mechanics of Creating a Program Summary 2 Setting Out to C++ C++ Initiation C++ Statements More C++ Statements Functions Summary Chapter Review Programming Exercises 3 Dealing with Data Simple Variables The const Qualifier Floating-Point Numbers C++ Arithmetic Operators Summary Chapter Review Programming Exercises 4 Compound Types Introducing Arrays Strings Introducing the string Class Introducing Structures Unions Enumerations Pointers and the Free Store Pointers, Arrays, and Pointer Arithmetic Combinations of Types Array Alternatives Summary Chapter Review Programming Exercises 5 Loops and Relational Expressions Introducing for Loops The while Loop The do while Loop The Range-Based for Loop (C++11) Loops and Text Input Nested Loops and Two-Dimensional Arrays Summary Chapter Review Programming Exercises 6 Branching Statements and Logical Operators The if Statement Logical Expressions The cctype Library of Character Functions The ?: Operator The switch Statement The break and continue Statements Number-Reading Loops Simple File Input/Output Summary Chapter Review Programming Exercises 7 Functions: C++s Programming Modules Function Review Function Arguments and Passing by Value Functions and Arrays Functions and Two-Dimensional Arrays Functions and C-Style Strings Functions and Structures Functions and string Class Objects Functions and array Objects Recursion Pointers to Functions Summary Chapter Review Programming Exercises 8 Adventures in Functions C++ Inline Functions Reference Variables Default Arguments Function Overloading Function Templates Summary Chapter Review Programming Exercises 9 Memory Models and Namespaces Separate Compilation Storage Duration, Scope, and Linkage Namespaces Summary Chapter Review Programming Exercises 10 Objects and Classes Procedural and Object-Oriented Programming Abstraction and Classes Class Constructors and Destructors Knowing Your Objects: The this Pointer An Array of Objects Class Scope Abstract Data Types Summary Chapter Review Programming Exercises 11 Working with Classes Operator Overloading Time on Our Hands: Developing an Operator Overloading Example Introducing Friends Overloaded Operators: Member Versus Nonmember Functions More Overloading: A Vector Class Automatic Conversions and Type Casts for Classes Summary ChapterReview Programming Exercises 12 Classes and Dynamic Memory Allocation Dynamic Memory and Classes The New, Improved String Class Things to Remember When Using new in Constructors Observations About Returning Objects Using Pointers to Objects Reviewing Techniques A Queue Simulation Summary Chapter Review Programming Exercises 下册 13 Class Inheritance Beginning with a Simple Base Class Inheritance: An Is-a Relationship Polymorphic Public Inheritance Static and Dynamic Binding Access Control: protected Abstract Base Classes Inheritance and Dynamic Memory Allocation Class Design Review Summary Chapter Review Programming Exercises 14 Reusing Code in C++ Classes with Object Members Private Inheritance Multiple Inheritance Class Templates Summary Chapter Review Programming Exercises 15 Friends, Exceptions, and More Friends Nested Classes
以下为对购买帮助不大的评价