30 lines
608 B
C++
Executable file
30 lines
608 B
C++
Executable file
#include <iostream>
|
|
//#include "DBEngine.h"
|
|
#include <vector>
|
|
#include "Attribute.h"
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
Attribute atributo("shamWow", "VARCHAR(10)", false);
|
|
|
|
atributo.addRow("rag");
|
|
atributo.addRow("sponge");
|
|
atributo.addRow("wooow");
|
|
atributo.addRow("cloth");
|
|
|
|
atributo.display();
|
|
|
|
Attribute atributo2("doom", "VARCHAR(20)", false);
|
|
|
|
atributo2.addRow("zombieman");
|
|
atributo2.addRow("revenant");
|
|
atributo2.addRow("imp");
|
|
atributo2.addRow("archvile");
|
|
|
|
atributo2.display();
|
|
|
|
string line1 = "Table_1";
|
|
|
|
//Relation r(line1, my_attributes);
|
|
}
|