书籍详情
Essential C++(影印版)
作者:(美)Stanley B.Lippman著
出版社:中国电力出版社
出版时间:2003-08-01
ISBN:9787508311067
定价:¥33.00
购买这本书可以去
内容简介
本书是特别为那些想在短时间内赶上C++技术发展的人设计的,书中强调了C++编程过程中一定会遇到的要素,以及可协助解决实际问题的技术。本书的组织围绕这一系列逐渐复杂的程序问题,同时介绍了解决这些问题的语言特性。通过这种方式,你不仅可以学到C++的函数和结构,还可以理解它们的设计目标和基本原理。StanleyB.Lippman目前已应微软邀请,加盟了VisualC++开发小组。此前他曾在贝尔实验室领导过cfront3.0和2.1的编译器开发小组,并曾是BjarneStroustrup所领导的贝尔实验室基础项目中的一员。Stan是《C++Primer》及《InsideTheC++ObjectModel》的作者,这些极为成功的书籍由AddisonWesley出版。本书提供了一条学习和应用C++的捷径。本书是特别为那些想在短时间内赶上C++技术发展的人设计的,书中强调了C++编程过程中一定会遇到的要素,以及可协助解决实际问题的技术。总之,这本言简意赅的指南为你提供了实用的C++知识,以及进一步深入研究的基础。本书将C++的本质概括为:procedural、generic、Object-based、Object-orientde。本书的组织围绕这一系列逐渐复杂的程序问题,同时介绍了解决这些问题的语言特性。通过这种方式,你不仅可以学到C++的函数和结构,还可以理解它们的设计目标和基本原理。
作者简介
StanleyB.Lippman畅销图书《C++Primer(3RD)中文版》的原版作者StanleyB.Lippman的职业是提供关于C++和面向对象的训练、咨询、设计和指导。他在成为一名独立咨询顾问之前,曾经是迪士尼动化公司的首席软件设计师。当他在AT&TBell实验室的时候,领导了cfront3.0版本和2.1版本的编译器开发组。他也是BjarneStroustrup领导的Bell实验室Foundation项目的成员之一,负责C++程序设计环境中的对象模型部分。他还撰写了许多关于C++的文章。目前他已受雇于微软公司,负责VisualC++项目。遍及全球,深受广大C++学者的喜欢。>>更多作品
目录
Preface.
Structure of This Book.
A Note on the Source Code.
Acknowledgments.
Where to Find More Information.
Typographical Conventions.
1. Basic C++ Programming.
How to Write a C++ Program.
Defining and Initializing a Data Object.
Writing Expressions.
Writing Conditional and Loop Statements.
How to Use Arrays and Vectors.
Pointers Allow for Flexibility.
Writing and Reading Files.
2. Procedural Programming.
How to Write a Function.
Invoking a Function.
Providing Default Parameter Values.
Using Local Static Objects.
Declaring a Function Inline.
Providing Overloaded Functions.
Defining and Using Template Functions.
Pointers to Functions Add Flexibility.
Setting Up a Header File.
3. Generic Programming.
The Arithmetic of Pointers.
Making Sense of Iterators.
Operations Common to All Containers.
Using the Sequential Containers.
Using the Generic Algorithms.
How to Design a Generic Algorithm.
Using a Map.
Using a Set.
How to Use Iterator Inserters.
Using the iostream Iterators.
4. Object-Based Programming.
How to Implement a Class.
What are Class Constructors and the Class Destructor?
What are mutable and const?
What is the this Pointer?
Static Class Members.
Building an Iterator Class.
Collaboration Sometimes Requires Friendship.
Implementing a Copy Assignment Operator.
Implementing a Function Object.
Providing Class Instances of the iostream Operators.
Pointers to Class Member Functions.
5. Object-Oriented Programming.
A Tour of Object-Oriented Programming.
Polymorphism without Inheritance.
Defining an Abstract Base Class.
Defining a Derived Class.
Using an Inheritance Hierarchy.
How Abstract Should a Base Class Be?
Initialization, Destruction, and Copy.
Defining a Derived Class Virtual Function.
Run-Time Type Identification.
6. Programming with Templates.
Parameterized Types.
The Template Class Definition.
Handling Template Type Parameters.
Implementing the Template Class.
A Function Template Output Operator.
Constant Expressions and Default Parameters.
Template Parameters as Strategy.
Member Template Functions.
7. Exception Handling.
Throwing an Exception.
Catching an Exception.
Trying for an Exception.
Local Resource Management.
The Standard Exceptions.
Structure of This Book.
A Note on the Source Code.
Acknowledgments.
Where to Find More Information.
Typographical Conventions.
1. Basic C++ Programming.
How to Write a C++ Program.
Defining and Initializing a Data Object.
Writing Expressions.
Writing Conditional and Loop Statements.
How to Use Arrays and Vectors.
Pointers Allow for Flexibility.
Writing and Reading Files.
2. Procedural Programming.
How to Write a Function.
Invoking a Function.
Providing Default Parameter Values.
Using Local Static Objects.
Declaring a Function Inline.
Providing Overloaded Functions.
Defining and Using Template Functions.
Pointers to Functions Add Flexibility.
Setting Up a Header File.
3. Generic Programming.
The Arithmetic of Pointers.
Making Sense of Iterators.
Operations Common to All Containers.
Using the Sequential Containers.
Using the Generic Algorithms.
How to Design a Generic Algorithm.
Using a Map.
Using a Set.
How to Use Iterator Inserters.
Using the iostream Iterators.
4. Object-Based Programming.
How to Implement a Class.
What are Class Constructors and the Class Destructor?
What are mutable and const?
What is the this Pointer?
Static Class Members.
Building an Iterator Class.
Collaboration Sometimes Requires Friendship.
Implementing a Copy Assignment Operator.
Implementing a Function Object.
Providing Class Instances of the iostream Operators.
Pointers to Class Member Functions.
5. Object-Oriented Programming.
A Tour of Object-Oriented Programming.
Polymorphism without Inheritance.
Defining an Abstract Base Class.
Defining a Derived Class.
Using an Inheritance Hierarchy.
How Abstract Should a Base Class Be?
Initialization, Destruction, and Copy.
Defining a Derived Class Virtual Function.
Run-Time Type Identification.
6. Programming with Templates.
Parameterized Types.
The Template Class Definition.
Handling Template Type Parameters.
Implementing the Template Class.
A Function Template Output Operator.
Constant Expressions and Default Parameters.
Template Parameters as Strategy.
Member Template Functions.
7. Exception Handling.
Throwing an Exception.
Catching an Exception.
Trying for an Exception.
Local Resource Management.
The Standard Exceptions.
猜您喜欢