S
Severin Ecker
hi!
i'm trying to copy a file with the std::copy function but my problem is,
that whitespaces are discarded. could anyone tell me how i can just copy all
the characters that are in the source-file. thx.
std::istream_iterator<std::string> ins(in), eos;
std:stream_iterator<std::string> outs(out);
std::copy(ins, eos, outs);
thanks,
sev
i'm trying to copy a file with the std::copy function but my problem is,
that whitespaces are discarded. could anyone tell me how i can just copy all
the characters that are in the source-file. thx.
std::istream_iterator<std::string> ins(in), eos;
std:stream_iterator<std::string> outs(out);
std::copy(ins, eos, outs);
thanks,
sev