Introduction
In this lab, you will learn about the find()
method of STL Set in C++ programming. Set is used to store a unique list of values and automatically provides an ordering to its elements. By default, the ordering is in ascending order. The find()
method returns an iterator to the element that is searched in the set container. If the element is not found, the iterator points to the position just after the last element in the set.