You are viewing a single comment's thread. Return to all comments →
Printing reverse iteration in c++:
void invertOrder(vector<int> array){ copy(array.rbegin(), array.rend(), ostream_iterator<int>(cout, " ")); }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 7: Arrays
You are viewing a single comment's thread. Return to all comments →
Printing reverse iteration in c++: