// File: prmain.C // // Using our printall template #include #include #include #include #include #include #include // STL string template, like BString #include "printall.h" main() { vector V ; deque D ; list L ; string str ; // Get strings from stdin // while (cin >> str) { V.push_back(str) ; // append new string D.push_back(str) ; L.push_back(str) ; } cout << "\nPrint Vector:" << endl ; printall(V) ; cout << "\nPrint Deque:" << endl ; printall(D) ; cout << "\nPrint List:" << endl ; printall(L) ; }