+1 vote
156 views
I am writing a program to crawl websites.  My goal is to read and parse English language pages only.  For that, I need to check any non-english characters present in the string or not using c++. Please tell me the easiest way to do that.
in Programming by (354 points)
recategorized by | 156 views

Please log in or register to answer this question.

1 Answer

0 votes
Check if character in string c++ Code :

std::string s = "Hello";

if (s. find('e') != std::string::npos)

cout << "Found";

else.

cout << "Not Found";
by (256 points)