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
you can search a number using “FIND” and “Binary_Search”.