Often it may be necessary to determine whether an array contains a value that matches a certain key value. The process of finding a particular element of an array is called searching.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.