Hi David, You are supposed to use a std::vector<int>::itterator and not an int *. It looks like, itterators were implemented as ordinary pointers in your old compiler, but not in the new one. The code was accidentally correct with your old compiler but not portable:) Yours sincerely, Bjorn