array

Check if any element in array contains string in C++

This tutorial will discuss about a unique way to check if any element in array contains string in C++. To check any string element in an array contains a sepcific string, we will use the std::any_of() function from STL Algorithms. The std::any_of() function accepts three arguments, The std::any_of() function will apply the given Lambda function

Check if any element in array contains string in C++ Read More »

Scroll to Top