#include #include #include #include "Table.h" Table::Table(const string& t): title(t) {} void Table::add(const string& elem) { table.push_back(elem); } void Table::output() { cout << "Table: " << title << endl; for (TableType::iterator i = table.begin(); i != table.end(); i++) cout << (*i) << endl; }