find_first_of « STL Algorithms Non modifying sequence operations « C++






1.Use find_first_of function to search first occurrence of an element
2.Use find_first_of function to search last occurrence of an element