C++标准库教程

出版时间:2006-5  出版社:清华大学出版社  作者:约祖蒂斯  页数:799  
Tag标签:无  

内容概要

C++标准库提供了一组通用类和接口,从而极大地拓展了核心C++语言。但是,要高效地利用C++标准库进行开发,只知道标准库的类名及其函数名是不够的,还需要更深入地学习和掌握。本书正是基于这种需要而编写的。    本书以最新的C++标准库为基础,不仅介绍了C++标准库及其所有组件,而且还讲述了如何在实际编程中高效地使用它们。本书的重点是标准模板库(STL),详细介绍了标准模板库的容器、迭代器、函数对象以及STL算法。对标准库的每个组件,不仅介绍了其作用和设计方法,而且还给出了相应的范例、详细的描述、可能的陷阱,以及各组件的类及其函数的正确书写和定义。    本书讲解全面、详尽、易懂,而且与实际的编程开发紧密相连,不仅可以作为C++高级开发的教材,而且可作为开发人员的案头参考书,以供随时查阅。

书籍目录

PrefaceAcknowledgments1 About this Book   l.l Why this Book I  1.2 What You Should Know Before Reading this Book   l.3 Style and Structure of the Book   l.4 How to Read this Book   1.5 State of the Aft   1.6 Example Code and Additional Information   1.7 Feedback 2 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 TVpe hoof     2.2.6 KeVword exDlicit     2.2.7 New Operators for Type Conversion     2.2.8 Initialization of Constant Static Members     2.2.9 Definition of maino ZI  2.3 Complexity and the Big-O Notation ZI3 General Concepts   3.1 Namespace std   3.2 Header Files   3.3 Error and Exception Handling     3.3.1 Standard ExceDtion 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.l.2 Examples of Pair Usage   4.2 Class auto Dtr     4.2.1 Motivation of Class auto Dtr    4.2.2 Transfer of Ownership bV auto air     4.2.3 auto Dtrs as Members     4.2.4 Misusing auto--ptrs     4.2.5 auto Dtr ExamDles     4.2.6 Class auto Dtr in Detail   4.3 Numeric Limits   4.4 Auxiliary Functions     4.4.1 Processing the Minimum and Maximum     4.4.2 Swapping TWo Values   4.5 Supplementary Comparison Operators    …… 5 The Standard Template Library 6 STL Containers 7 STL Iterators 8 STL Function Obiects 9 STL Algorithms 10 Special Containers 11 Strings 12 Numerics 13. I Common Background of I/O Streams 14 Internationalization 15 Allocators Internet ResourcesBibliographyIndex

图书封面

图书标签Tags

评论、评分、阅读与下载


    C++标准库教程 PDF格式下载


用户评论 (总计2条)

 
 

  •   这本书写的很棒,写了很多标准库的东西。有兴趣的可以看看!也是广大C++爱好的工具书!!
  •   学C++必看的书
 

250万本中文图书简介、评论、评分,PDF格式免费下载。 第一图书网 手机版

京ICP备13047387号-7