c++【STL-3】Sequence Containers 序列容器介绍
文章目录容器类型STL头文件Sequence ContainersvectordequeListForward ListArray容器类型STL头文件Sequence ContainersvectorA vector is a dynamic array that grows in one direction.注:for (it: vec)应改为:for (int it:vec)或for(auto it : vec)dequeList搜索要比vector慢得多
复制链接