stl
王文波~
清。。
展开
-
strtok-------迭代器
Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he knows is, well, not quite enough. Instead of thinking up all the wo...原创 2020-03-14 15:06:29 · 94 阅读 · 1 评论 -
c++stl
vector, 变长数组,倍增的思想 size() 返回元素个数 empty() 返回是否为空 clear() 清空 front()/back() push_back()/pop_back() begin()/end() [] 支持比较运算,按字典序 pair<int, int> first, 第一个元素 second, 第二个元素 支持比较运算,以first为第一关键字,以se...转载 2020-02-15 13:31:05 · 139 阅读 · 0 评论