 | 书 名: C++面向对象编程(第二版)英文版 作 者: Ira Pohl 出 版 社: 电子工业出版社 ISBN : 750539713 原 价: ¥49 有一家网站低于85折正在热销 | C++面向对象编程(第二版)英文版-图书目录:
目 录 1. Why Object-Oriented Programming in C 1.1 Object-Oriented Programming 1.2 An Example C Program 1.3 Encapsulation and Type-Extensibility 1.4 Constructors and Destructors 1.5 Overloading 1.6 Templates and Generic Programming 1.7 The Standard Template Library STL 1.8 Inheritance 1.9 Polymorphism 1.10 C Exceptions 1.11 Benefits of Object-Oriented Programming 2. Native Types and Statements 2.1 Program Elements 2.1.1 Comments 2.1.2 Keywords 2.1.3 Identifiers 2.1.4 Literals 2.1.5 Operators and Punctuators 2.2 Input/Output 2.3 Program Structure 2.4 Simple Types 2.4.1 Initialization 2.5 The Traditional Conversions 2.6 Enumeration Types 2.7 Expressions 2.8 Statements 2.8.1 Assignment and Expressions 2.8.2 The Compound Statement 2.8.3 The if and if-else Statements 2.8.4 The while Statement 2.8.5 The for Statement 2.8.6 The do Statement 2.8.7 The break and continue Statements 2.8.8 The switch Statement 2.8.9 The goto Statement 2.9 Pragmatics Summary Exercises 3. Functions and Pointers 3.1 Functions 3.1.1 Function Invocation 3.2 Function Definition 3.3 The return Statement 3.4 Function Prototypes 3.5 Default Arguments 3.6 Overloading Functions 3.7 Inlining 3.8 Scope and Storage Class 3.8.1 The Storage Class auto 3.8.2 The Storage Class register 3.8.3 The Storage Class extern 3.8.4 The Storage Class static 3.8.5 Linkage Mysteries 3.9 Namespaces 3.10 Pointer Types 3.10.1 Addressing and Dereferencing 3.10.2 Pointer-Based Call-by-Reference 3.11 The Uses of void 3.12 Arrays and Pointers 3.12.1 SubScripting 3.12.2 Initialization 3.13 The Relationship between Arrays and Pointers 3.14 Passing Arrays to Functions 3.15 Reference Declarations and Call-by-Reference 3.16 Assertions and Program Correctness 3.17 Strings:The char* Convention 3.18 Multidimensional Arrays 3.19 Free Store Operators new and delete 3.20 Pragmatics 3.20.1 Void* and reinterpret_cast 3.20.2 Replacing static extern Declarations Summary Exercises 4. Implementing ADTs in the Base Language 4.1 The Aggregate Type struct 4.2 Structure Pointer Operator 4.3 An Example:Stack 4.4 Unions 4.5 Complex Numbers 4.6 Example:A Flush 4.7 Bit Fields 4.8 An Example:Two-Dimensional Dynamic Arrays 4.9 Pragmatics Summary Exercises 5. Data Hiding and Member Functions 5.1 Member Functions 5.2 Access:Private and Public 5.3 Classes 5.4 Class Scope 5.4.1 Scope Resolution Operator 5.4.2 Nested Classes 5.5 Example:Revisiting the Flush 5.6 static Member 5.7 The this Pointer 5.8 static and const Member Functions 5.8.1 Mutable 5.9 Containers and Item Access 5.10 Pragmatics Summary Exercises 6. Object Creation and Destruction 6.1 Classes with Constructors 6.1.1 The Default Constructor 6.1.2 Constructor Initializer 6.1.3 Constructors as Conversions 6.2 Constructing a Dynamically Sized Stack 6.2.1 The Copy Constructor 6.3 Classes with Destructiors 6.4 An Example:Dynamically Allocated Strings 6.5 A Class vect 6.6 Members that Are Class Types 6.7 Example:A Singly Linked List 6.8 Two-Dimensional Arrays 6.9 Polynomials as a Linked List 6.10 Strings Using Reference Semantics 6.11 No Constructor,Copy Constructor,and Other Mysteries 6.11.1 Destructor Details 6.12 Pragmatics Summary Exercises 7. Ad Hoc Polymorphism 7.1 ADT Conversions 7.2 Overloading and Function Selection 7.3 Friend Functions 7.4 Overloading Operators 7.5 Unary Operator Overloading 7.6 Binary Operator Overloading 7.7 Overloading Assignment and SubScripting Operators 7.8 Polynomial:Type and Language Expectations 7.9 Overloading I/O Operators <<and>> 7.10 Overloading Operator for Indexing 7.11 Pointer Operators 7.11.1 Pointer to Class Member 7.12 Overloading new and delete 7.13 Pragmatics 7.13.1 Signature Matching Summary Exercises 8. Visitation:Iterators and Containers 8.1 Visitation 8.2 Iterators 8.3 An Example:quicksort 8.4 Friendly Classes and Iterators 8.5 Generic Programming with void* 8.6 List and List Iterator 8.7 Pragmatics Summary Exercises 9. Templates,Generic Programming, and STL 9.1 Template Class stack 9.2 Function Templates 9.2.1 Signature Matching and Overloading 9.3 Class Templates 9.3.1 Friends 9.3.2 Static Members 9.3.3 Class Template Arguments 9.4 Parameterizing the Class vector 9.5 Parameterizing quicksort 9.6 Parameterized Binary Search Tree 9.7 STL 9.8 Containers 9.8.1 Sequence Containers 9.8.2 Associative Containers 9.8.3 Container Adaptors 9.9 Iterators 9.9.1 The istream_iterator and ostream_iterator 9.9.2 Iterator Adaptors 9.10 Algorithms 9.10.1 Sorting Algorithms 9.10.2 Nonmutating Sequence Algorithms 9.10.3 Mutating Sequence Algorithms 9.10.4 Numerical Algorithms 9.11 Functions 9.12 Function Adaptors 9.13 Pragmatics Summary Exercises 10. Inheritance 10.1 A Derived Class 10.2 Typing Conversions and Visibility 10.3 Code Reuse:A Binary Tree Class 10.4 Virtual Functions 10.5 Abstract Base Classes 10.6 Templates and Inheritance 10.7 Multiple Inheritance 10.8 Inheritance and Design 10.8.1 Subtyping Form 10.9 Run-Time Type Identification 10.10 Pragmatics Summary Exercises 11. Exceptions 11.1 Using assert.h 11.2 Using signal.h 11.3 C Exceptions 11.4 Throwing Exceptions 11.4.1 Rethrown Exceptions 11.4.2 Exception Expressions 11.5 Try Blocks 11.6 Handlers 11.7 Exception Specification 11.8 terminate and unexpected 11.9 Example Exception Code 11.10 Standard Exceptions and their Uses 11.11 Pragmatics Summary Exercises 12. OOP Using C 12.1 OOP Language Requirements 12.2 ADTs in Non-OOP Languages 12.3 Clients and Manufacturers 12.4 Reuse and Inheritance 12.5 Polymorphism 12.6 Language Complexity 12.7 C OOP Bandwagon 12.8 Platonism:Tabula Rasa Design 12.9 Design Principles 12.10 Schema,Diagrams,and Tools 12.11 Design Patterns 12.12 C :A Critique Summary Exercises A ASCII Character Codes B Operator Precedence and Associativity C Language Guide C.1 Program Structure C.2 Lexical Elements C.2.1 Comments C.2.2 Identifiers C.2.3 Keyworks C.3 Constants C.4 Declarations and Scope Rules C.5 Namespaces C.6 Linkage Rules C.7 Types C.8 Conversion Rules and Casts C.9 Expressions and Operators C.9.1 sizeof Expressions C.9.2 Autoincrement and Autodecrement Expressions C.9.3 Arithmetic Expressions C.9.4 Relational,Equality,and Logical Expressions C.9.5 Assignment Expressions C.9.6 Comma Expressions C.9.7 Conditional Expressions C.9.8 Bit Manipulation Expressions C.9.9 Address and Indirection Expressions C.9.10 new and delete Expressions C.9.11 Other Expressions C.10 Statements C.10.1 Expression Statements C.10.2 The Compound Statement C.10.3 The if and if-else Statements C.10.4 The while Statement C.10.5 The for Statement C.10.6 The do Statement C.10.7 The break and continue Statements C.10.8 The wsitch Statement C.10.9 The goto Statement C.10.10 The return Statement C.10.11 The Declaration Statement C.11 Functions C.11.1 Prototypes C.11.2 Call-by-Reference C.11.3 Inline Functions C.11.4 Default Arguments C.11.5 Overloading C.11.6 Type-Safe Linkage for Functions C.12 Classes C.12.1 Constructors and Destructors C.12.2 Member Functions C.12.3 Friend Functions C.12.4 The this Pointer C.12.5 Operator Overloading C.12.6 static and const Member Functions C.12.7 Mutable C.12.8 Class Design C.13 Inheritance C.13.1 Multiple Inheritance C.13.2 Constructor Invocation C.13.3 Abstract Base Classes C.13.4 Pointer to Class Member C.13.5 Run-Time Type Identification C.13.6 Virtual Functions C.14 Templates C.14.1 Template Parameters C.14.2 Function Template C.14.3 Friends C.14.4 Static Members C.14.5 Specialization C.15 Exceptions C.15.1 Throwing Exceptions C.15.2 Try Blocks C.15.3 Handlers C.15.4 Exception Specifications C.15.5 terminate and unexpected C.15.6 Standard Library Exceptions C.16 Caution and Compatibility C.16.1 Nested Class Declarations C.16.2 Type Compatibilities C.16.3 Miscellaneous C.17 New Features in C D Input/Output D.1 The Output Class ostream D.2 Formatted Output and iomanip.h D.3 User-Defined Types:Output D.4 The Input Class istream D.5 Files D.6 Using Strings as Streams D.7 The Functions and Macros in ctype.h D.8 Using Stream States D.9 Mixing I/O Libraries E SYL and String Libraries E.1 Containers E.1.1 Sequence Containers E.1.2 Associative Containers E.1.3 Container Adaptors E.2 Iterators E.2.1 Iterator Categories E.2.2 Istream_iterator E.2.3 Ostream_iterator E.2.4 Iterator Adaptors E.3 Algorithms E.3.1 Sorting Algorithms E.3.2 Nonmutating Sequence Algorithms E.3.3 Mutating Sequence Algorithms E.3.4 Numerical Algorithms E.4 Functions E.4.1 Function Adaptors E.5 Allocators E.6 String Library E.6.1 Constructors E.6.2 Member Functions E.6.3 Global Operators References Index
C++面向对象编程(第二版)英文版-图书简介: 本书面向有经验的编程人员,清晰、透彻地介绍了ANSI C++面向对象编程。书中讲述了支持面向对象编程概念的C++语言特性,包括STL、名称空间、RTTI以及布尔类型等新特性。Ira Pohl是C++方面的权威作家,在本书中以其著名的“剖析”方法展示了关键编程要素及惯用语言,教你如何权衡以及做出最恰当的选择。 美国加州大学Santa Cruz校区计算机科学系的教授。他在软件方法学方面有二十多年的经验,是C++和C语言编程的国际权威。Ira Pohl曾兼任数字设备公司、苹果、斯坦福线性加速器中心、Xylinx、National Technological大学和Gupta的顾问。 本书旨在介绍使用ANSI C++进行面向对象的编程,解释在此环境中的C++特性。书中提供STL、名称空间、RTTI以及布尔类型等C++最新特性的快速指南,借助大量示例展示优秀的编程风格。全书重点介绍了C++的数据结构、标准模板库以及C++语言的主流方向和习惯用法。具体包括基本类型和语句、功能和指示器、数据隐藏、多态性、迭代器和容器、继承等多项内容。
本书面向有编程经验的学生和其他读者,可作为应?肅++语言讲授的高级编程、数据结构、软件设计方法学等课程的教材。
C++面向对象编程(第二版)英文版-相关最新图书 ·网络处理器与网络系统设计 英文版 ·海战.上册,战舰史话 ·离散数学 英文版 ·政府网站的构建与运作 ·证券投资学 ·2005化学分类解析丛书 全 ·剑桥应用语言学丛书:对比修辞(第二语言写作的跨文层面) ·用户界面设计——有效的人机交互策略图书详细资料信息 ·比较财政学教程 ·计算机组成原理习题与题解 ·跨文化交际技巧(如何跟西方人打交道)教师用书 ·数据库系统设计、实现与管理:第5版 ·现代数据库管理(第六版) 英文版 ·计算机图形学(第三版) 英文版 ·兵乓球文化·技术与传播 ·康德著作全集·第3卷:纯粹理发批判(第2版) ·金融家 ·中国高校人文社会科学研究通鉴(1996-2000) ·电子商务及应用 ·邓小平理论和"三个代表"重要思想概论 |