c++ find element in vector. Asthasr. #include <algorithm> #include <vector> if ( std::find(vec.begin(), vec.end(), item) != vec.end() ) ...
確定! 回上一頁