Can i have some example for
"if string is found"
I have no idea what syntax for this.
compare, find or seek or what else i don't know?

std::string s;
  // ... code that reads from file into s ...
if ( s.find("xxx") != std::string::npos )
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.