SEARCHING USING STL

Can anyone tell me whether there is any STL function in C++ which helps to perform binary search, just as we have a ‘sort’ function in #include< algorithm > header? If there is, then please show how to use it in my program.

Refer these links for implementation part

  1. c++ - How to search for an element in an stl list? - Stack Overflow

  2. http://www.cplusplus.com/reference/algorithm/binary_search/

you can search a number using “FIND” and “Binary_Search”.