Browse - Programming Tips - How can I fix a compile-time error - can't find string::npos

Date: 2015aug12
Language: C++
Keywords: stl

Q.  How can I fix a compile-time error - can't find string::npos
I have done #include <string>

A.  Perhaps you meant std::string::npos