12. Numerics 12.1 complex numbers (p529) #include <complex> ,若想改变实部或虚部,须赋值一个完整复数。(p536)...
12. Numerics 12.1 complex numbers (p529) #include <complex> ,若想改变实部或虚部,须赋值一个完整复数。(p536)...
11. string(p471) string::npos 11.2 string内部简述(p479)
10 Special Containers(p435) 概述: 10.1 stack #include LIFO : last in first out可能实现如下: 10...
9 STL Algorithm 9.1 header files 使用C++标准库的算法,须先#include 。 9.2 算法概览 9.2.1 简介 所有STL算法都被设...
8 functors/functor objects 8.1 conception of functor functor,是定义了operator()的对象。 functor...
7.1 迭代器头文件 7.2 iterator categories 7.2.1 input iterator input iterator只能一次一个地向前读取元素。一旦i...
6.6 map and multimap(page194) map/multimap将键值对作为元素进行管理。multimap允许重复的键,而map不允许。类似其它容器,ma...
5.5 迭代器之配接器 C++标准程序库提供了多个预先定义的特殊迭代器,即迭代器配接器。下面简述三种迭代器配接器(详见page264)。 5.5.1 insert itera...
6. STL容器(page143) C++标准程序库还提供了一些特殊容器类别——即 容器配接器(container adapter,包括stack、queue、priorit...
5. STL Components(page73) 5.1 STL组件 STL基本观念:将数据和操作分离。数据由容器类别管理,操作由定制的算法定义,迭代器在二者之间作为粘合剂...