0

Search by name in class

How can I Search for a person by name ?

17th Dec 2020, 9:34 PM
Rebaz Awat
Rebaz Awat - avatar
1 Answer
+ 2
In a class or in a container of objects? If you mean search in a container, then look at either one of the `find` algorithm family. https://en.cppreference.com/w/cpp/algorithm/find
17th Dec 2020, 11:22 PM
Ipang