特牛网址导航

STL之算法——查找搜索统计算法_stl搜索专题_虔诚的学习者的博客-CSDN博客

网友收藏
文章浏览阅读160次。一:find:按值查找元素,找不到返回结束迭代器位置1.函数原型find(iterator begin, iterator end, value)2.操作#include <iostream>#include <algorithm>#include <vector>using namespace std;int main(){ vector<int> v{ 1,2,3,4 }; vector<int>_stl搜索专题
标签:stl搜索专题