Topic: partial_sum_copy
Author: Stefan Kuhlins <kuhlins@wifo.uni-mannheim.de>
Date: 1997/12/09 Raw View
I can't find partial_sum_copy in the library.
Maybe it's better to use another algorithm in the example.
24.5 Stream iterators [lib.stream.iterators]
2 [Example:
partial_sum_copy(istream_iterator<double, char>(cin),
istream_iterator<double, char>(),
ostream_iterator<double, char>(cout, "\n"));
reads a file containing floating point numbers from cin, and prints
the partial sums onto cout. --end example]
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]