Write Output sing an ostream iterator : ostream iterator « Console « C++






Write Output sing an ostream iterator

Write Output sing an ostream iterator
 


#include <iostream>
#include <iterator>
using namespace std;

int main()
{
    ostream_iterator<int, char>    oi(cout);
    *oi = 6;
    *++oi = 88;

    return 0;
}

           
         
  








Related examples in the same category

1.Override ostream