D. Susman wrote:
> Hi,
>
> In the code snippet below, I am trying to read the contents of a file
> into a vector. However I can't get it compiled. I am using Sunstudio
> which compiles C++ using cc.
You need to include <iterator> for std::istream_iterator.
Regards,
Werner