Dave's Brain

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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.