to check if a string char is alphanumeric in c++ code example
Example: c++ check if string contains non alphanumeric
#include <algorithm>
any_of(str.begin(), str.end(), [](const char& c) -> bool { return !isalnum(c); });
#include <algorithm>
any_of(str.begin(), str.end(), [](const char& c) -> bool { return !isalnum(c); });