新内容

#include<algorithm>//算法头文件
sort(a,b)//默认升序
sort(a,b,cmp)
bool cmp( 类型, 类型)
{  }

重载
const bool operator <(类型 const &a)const
{  }

list 链表

#include<list>

list<类型> 对象
 
queue<类型>对象

stack<类型>对象

priority_queue<类型>对象

binary_search(头,尾,查找的数);

迭代器
queue<类型>iterator a;

posted @ 2013-08-14 17:18  一只蚊子  阅读(110)  评论(0)    收藏  举报