#include #include #include "DBEngine.h" using namespace std; //still in progress int main() { DBEngine engine; Attribute att1("Breakfast", "VARCHAR(20)", true); Attribute att2("Lunch", "VARCHAR(20)", false); Attribute att3("Dinner", "VARCHAR(20)", false); att1.addCell("Pancakes"); att1.addCell("Waffles"); att1.addCell("Biscuits"); att2.addCell("Turkey Sandwich"); att2.addCell("Caesar Salad"); att2.addCell("Pizza"); att3.addCell("Steak"); att3.addCell("Shrimp"); att3.addCell("Ribs"); vector v; v.push_back(att1); v.push_back(att2); v.push_back(att3); Relation r("AltFood", v); //r.display(); engine.createTable("Food", v); engine.createTable(r); engine.createTable("Sadness"); //vector rs = engine.getRelations(); Relation r2 = engine.getTableFromName("Food"); r2.display(); }