I'm really not having any problems with it. What compiler do you use? Perhaps the stream iterators aren't well written on your compiler, mine is Visual C++ 6.0.
using namespace std;
copy(bobs.begin(), bobs.end(), ostream_iterator<int>(cout, " "));