#include <iostream> #include <iterator> #include <fstream>
int main() { std::ostream_iterator <int> it (std::cout, ","); *it++ = 17; *it++ = 20; }//17,20
int main() { std::ostream_iterator <int> it (std::cout); it = 17; it = 20; }
#include <iostream> #include <iterator> #include <fstream>
int main() { std::ostream_iterator <int> it (std::cout, ","); *it++ = 17; *it++ = 20; }//17,20
int main() { std::ostream_iterator <int> it (std::cout); it = 17; it = 20; }