Dec 20, 2008

Some C++ Trickes

To output the content in a container:

copy(A.begin(), A.end(), ostream_iterator(cout, " "));

No comments: