cpp学习笔记(三)
16章 标准模板库简介
17章 STL string类
18章 STL动态数组类
19章 STL list
20章 STL set于multiset
21章 STL map和multimap
16章 标准模板库简介
存储信息的容器
访问容器存储的信息的迭代器
操作容器内容的算法
17章 STL string类
为何需要字符串操作类
使用STL string类
基于模板的STL string实现
18章 STL动态数组类
vector的特点
典型的vector的操作
理解大小和容量
STL deque
19章 STL list
std::list的特点
基本的list操作
20章 STL set于multiset
set和multiset简介
set和multiset基本操作
set和multiset容器的优缺点
21章 STL map和multimap
STL map和multimap简介
STL map和multimap的基本操作
使用排序谓词定制排序行为
//
// main.cpp
// stl_16_21
//
// Created by bikang on 16/9/28.
// Copyright (c) 2016年 bikang. All rights reserved.
//
#include
#include
#include
#include
#include
#include
#include
#include