本书是大学计算机教育国外著名教材系列中的一本,本书以最新的C++标准库为基础,不仅介绍了C++标准库及其所有组件,而且还讲述了如何在实际编程中高效地使用它们。本书的重点是标准模板库(STL),详细介绍了标准模板库的容器、迭代器、函数对象以及STL算法。对标准库的每个组件,不仅介绍了其作用和设计方法,而且还给出了相应的范例、详细的描述、可能的陷阱,以及各组件的类及其函数的正确书写和定义。本书为全英文版。
网站首页 软件下载 游戏下载 翻译软件 电子书下载 电影下载 电视剧下载 教程攻略
书名 | C++标准库教程(影印版)/大学计算机教育国外著名教材系列 |
分类 | |
作者 | (德)约祖蒂斯 |
出版社 | 清华大学出版社 |
下载 | ![]() |
简介 | 编辑推荐 本书是大学计算机教育国外著名教材系列中的一本,本书以最新的C++标准库为基础,不仅介绍了C++标准库及其所有组件,而且还讲述了如何在实际编程中高效地使用它们。本书的重点是标准模板库(STL),详细介绍了标准模板库的容器、迭代器、函数对象以及STL算法。对标准库的每个组件,不仅介绍了其作用和设计方法,而且还给出了相应的范例、详细的描述、可能的陷阱,以及各组件的类及其函数的正确书写和定义。本书为全英文版。 内容推荐 C++标准库提供了一组通用类和接口,从而极大地拓展了核心C++语言。但是,要高效地利用C++标准库进行开发,只知道标准库的类名及其函数名是不够的,还需要更深入地学习和掌握。本书正是基于这种需要而编写的。 本书以最新的C++标准库为基础,不仅介绍了C++标准库及其所有组件,而且还讲述了如何在实际编程中高效地使用它们。本书的重点是标准模板库(STL),详细介绍了标准模板库的容器、迭代器、函数对象以及STL算法。对标准库的每个组件,不仅介绍了其作用和设计方法,而且还给出了相应的范例、详细的描述、可能的陷阱,以及各组件的类及其函数的正确书写和定义。 本书讲解全面、详尽、易懂,而且与实际的编程开发紧密相连,不仅可以作为C++高级开发的教材,而且可作为开发人员的案头参考书,以供随时查阅。 本书网站http://www.josuttis.com/libbook提供了书中的源代码下载。 目录 Preface Acknowledgments 1 About this Book 1.1 Why this Book 1.2 What You Should Know Before Reading this Book 1.3 Style and Structure of the Book 1.4 How to Read this Book 1.5 State of the Art 1.6 Example Code and Additional Information 1.7 Feedback Introduction to C++ and the Standard Library 2.1 History 2.2 New Language Features 2.2.1 Templates 2.2.2 Explicit Initialization for Fundamental Types 2.2.3 Exception Handling 2.2.4 Namespaces 2.2.5 Type bool 2.2.6 Keyword explicit 2.2.7 New Operators for Type Conversion 2.2.8 Initialization of Constant Static Members 2.2.9 Definition of main() 2.3 Complexity and the Big-O Notation 3 General Concepts 3.1 Namespace std 3.2 Header Files 3.3 Error and Exception Handling 3.3.1 Standard Exception Classes 3.3.2 Members of Exception Classes 3.3.3 Throwing Standard Exceptions 3.3.4 Deriving Standard Exception Classes 3.4 Allocators 4 Utilities 4.1 Pairs 4.1.1 Convenience Function make_pair() 4.1.2 Examples of Pair Usage 4.2 Class auto_ptr 4.2.1 Motivation of Class auto ptr 4.2.2 Transfer of Ownership by auto ptr 4.2.3 auto_ptrs as Members 4.2.4 Misusing auto ptrs 4.2.5 auto ptr Examples 4.2.6 Class auto_ptr in Detail 4.3 Numeric Limits 4.4 Auxiliary Functions 4.4.l Processing the Minimum and Maximum 4.4.2 Swapping Two Values 4.5 Supplementary Comparison Operators 4.6 Header Files <cstddef> and <cstdlib> 4.6.1 Definitions in <cstddef> 4.6.2 Definitions in <cstdlib> The Standard Template Library 5.1 STL Components 5.2 Containers 5.2.1 Sequence Containers 5.2.2 Associative Containers 5.2.3 Container Adapters …… |
随便看 |
|
霍普软件下载网电子书栏目提供海量电子书在线免费阅读及下载。