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. http://stackoverflow.com/questions/4604136/how-to-search-for-an-element-in-an-stl-list

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

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