Essential C++(影印版)
作者:[美] Stanley B.Lippman 著
出版:中国电力出版社 2003.8
页数:276
定价:33.00 元
ISBN-10:750831106X
ISBN-13:9787508311067
去豆瓣看看 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
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++的函数和结构,还可以理解它们的设计目标和基本原理。
比价列表