分类: C/C++
2010-08-20 21:51:05
顺序容器类型:vector,list,deque
顺序容器适配器:stack,queue,priority_queue
顺序容器元素排列顺序是插入的顺序
int main(int argc, _TCHAR* argv[])
{
vector
vector
vector
vector
vector
string array[] = {"hit1","hit2"};
vector
}
关系操作符只适用于vector和deque容器,这两种容器可以随机访问,list不可以随机访问