ASKER
if (string::npos != pos && sentence.length() == pos + word.length()) sentence.erase(pos, word.length());
ASKER
C++ is an intermediate-level general-purpose programming language, not to be confused with C or C#. It was developed as a set of extensions to the C programming language to improve type-safety and add support for automatic resource management, object-orientation, generic programming, and exception handling, among other features.
TRUSTED BY
ASKER