摘要:
C++ STL中的Iterator遍历容器的时候,无需知道具体的是哪个容器,只用传入地址即可。容器可以使用数组来模拟。代码如下:/************************************************************************//* implement of find function without stl *//************************************************************************/#include <iost... 阅读全文
posted @ 2013-01-16 17:30
理想空间
阅读(406)
评论(0)
推荐(0)