| |
| |
| |
内容简介
本书是特别为那些想在短时间内赶上C++技术发展的人设计的,书中强调了C++编程过程中一定会遇到的要素,以及可协助解决实际问题的技术。本书的组织围绕这一系列逐渐复杂的程序问题,同时介绍了解决这些问题的语言特性。通过这种方式,你不仅可以学到C++的函数和结构,还可以理解它们的设计目标和基本原理。 Stanley B.Lippman目前已应微软邀请,加盟了Visual C++开发小组。此前他曾在贝尔实验室领导过cfront3.0和2.1的编译器开发小组,并曾是Bjarne Stroustrup所领导的贝尔实验室基础项目中的一员。Stan是《C++Primer》及《Inside The C++Object Model》的作者,这些极为成功的书籍由Addison Wesley出版。
本书提供了一条学习和应用C++的捷径。本书是特别为那些想在短时间内赶上C++技术发展的人设计的,书中强调了C++编程过程中一定会遇到的要素,以及可协助解决实际问题的技术。总之,这本言简意赅的指南为你提供了实用的C++知识,以及进一步深入研究的基础。本书将C++的本质概括为:procedural、generic、Object-based、Object-orientde。本书的组织围绕这一系列逐渐复杂的程序问题,同时介绍了解决这些问题的语言特性。通过这种方式,你不仅可以学到C++的函数和结构,还可以理解它们的设计目标和基本原理。
| |
|
顾客评论 |
|
目录
目 录 Preface Structure of This Book A Note on the Source Code Acknowledgments Where to Find More Information Typographical Conventions Chapter 1: Basic C Programming 1.1: How to Write a C Program 1.2: Defining and Initializing a Data Object 1.3: Writing Expressions 1.4: Writing Conditional and Loop Statements 1.5: How to Use Arrays and Vectors 1.6 Pointers Allow for Flexibility 1.7: Writing and Reading Files Chapter 2: Procedural Programming 2.1: How to Write a Function 2.2: Invoking a Function 2.3: Providing Default Parameter Values 2.4: Using Local Static Objects 2.5: Declaring a Function Inline 2.6: Providing Overloaded Functions 2.7: Defining and Using Template Functi, 2.8: Pointers to Functions Add Flexiblity 2.9: Setting Up a Header File Chapter 3: Generic Programming 3.1: The Arithmetic of Pointers 3.2: Making Sense of Iterators 3.3: Operations Common to All Containers 3.4: Using the Sequential Containers 3.5: Using the Generic Algorithms 3.6: How to Design a Generic Algorithm 3.7: Using a Map 3.8: Using a Set 3.9: How to Use Iterator Inserters 3.10: Using the iostream Iterators Chapter 4: Object-Based Programming 4.1: How to Implement a Class 4.2: What Are Class Constructors and the Class Destructor 4.3: What Are mutable and const 4.4: What Is the this Pointer 4.5: Static Class Members 4.6: Building an Iterator Class 4.7: Collaboration Sometimes Requires Friendship 4.8: Implementing a Copy Assignment Operator 4.9: Implementing a Function Object 4.10: Providing Class Instances of the iostream Operators 4.11: Pointers to Class Member Functions Chapter 5: Object-Oriented Programming 5.1: Object-Oriented Programming Concepts 5.2: A Tour of Object-Oriented Programming 5.3: Polymorphism without Inheritance 5.3: Defining an Abstract Base Class 5.4: Defining a Derived Class 5.5: Using an Inheritance Hierarchy 5.6: How Abstract Should a Base Class Be 5.7: Initialization, Destruction, and Copy 5.8: Defining a Derived Class Virtual Function 5.9: Run-Tune Type Identification Chapter 6: Programming with Templates 6.1: Parameterized Types 6.2: The Template Class Definition 6.3: Handling Template Type Parameters 6.4: Implementing the Template Class 6.5: A Function Template Output Operator 6.6: Constant Expressions and Default Parameters 6.7: Template Parameters as Strategy 6.8: Member Template Functions Chapter 7: Exception Handling 7.1: Throwing an Exception 7.2: Catching an Exception 7.3: Trying for an Exception 7.4: Local Resource Management 7.5: The Standard Exceptions Appendix A: Exercise Solutions Appendix B: Generic Algorithms Handbook Index
| |
Essential C++(影印版)-相关图书 ·重要农林外来入侵物种的生物学与控制 ·说不尽的Л ·测试驱动开发(影印版) ·机械原理习题集及学习指导 ·近现代经济学之演进 ·马尾松和湿地松林生态系统结构与功能 ·软件配置管理策略与Rational ClearCase(影印 ·机械原理:分析·综合·优化 ·大学物理学习指导与提高 ·钣金展开200例 ·电话英语一日通 ·中国·可持续发展·实践.1:LEAD-China学员论文选编 ·锅炉与供热 ·谈判英语一日通 ·电梯使用与维修问答 ·求职英语一日通 ·星级热菜(上):第五届全国烹饪技术比赛优秀作品精选 ·上班族乐在说英语 ·星级热菜(下):第五届全国烹饪技术比赛优秀作品精选 ·冲压模具设计制造难点与窍门
|
| |