I\'ve created a function to run through a vector of strings and remove any strings of length 3 or less. This is a lesson in using the STL Algorithm library.
I\'m ha
You should be using the two parameter form of erase:
myVector.erase(remove_if(myVector.begin(), myVector.end(), StringLengthTest), myVector.end());