#include #include #include #include #include #include "pics.h" using std::cout; using std::copy; using std::endl; using std::ostream_iterator; using std::string; using std::vector; int main() { vector p; p.push_back("this is an"); p.push_back("example"); p.push_back("to"); p.push_back("illustrate"); p.push_back("framing"); ostream_iteratorofile(cout, "\n"); copy(p.begin(), p.end(), ofile); cout << endl; vector f = frame(p); copy(f.begin(), f.end(), ofile); cout << endl; vector h = hcat(frame(p), p); copy(h.begin(), h.end(), ofile); cout << endl; return 0; }