>I have the following line of code:
> boost::algorithm::split(SplitString,
temp, "-"); I get the following error when trying >to compile
using visual c++ 2005:
>error C2064: term does not evaluate to a function
taking 1 arguments finder.hpp 583
>Can anyone tell me what I have done wrong here.
You should be using boost::algorithm::split(SplitString, temp, is_any_of("-")); the 3rd parameter should be a predicate functor not string. You need to include <boost/algorithm/string/predicate.hpp> to use the predefined functor is_any_of().
Hope it helps.
Tom