44 lines
776 B
C++
Executable file
44 lines
776 B
C++
Executable file
#include <iostream>
|
|
//#include "DBEngine.h"
|
|
#include <vector>
|
|
#include "Attribute.h"
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
|
|
/*
|
|
DBEngine engine;
|
|
Relation r;
|
|
Attribute<int> a;
|
|
*/
|
|
|
|
vector<string> shamWow;
|
|
shamWow.push_back("rag");
|
|
shamWow.push_back("sponge");
|
|
shamWow.push_back("wooow");
|
|
shamWow.push_back("cloth");
|
|
|
|
Attribute atributo;
|
|
atributo.initializeAttribute("atributo",shamWow);
|
|
atributo.display();
|
|
|
|
vector<string> doom;
|
|
doom.push_back("zombieman");
|
|
doom.push_back("revenant");
|
|
doom.push_back("imp");
|
|
doom.push_back("archvile");
|
|
|
|
Attribute atributo2;
|
|
atributo2.initializeAttribute("attribute_2", doom);
|
|
atributo2.display();
|
|
|
|
|
|
|
|
|
|
string line1 = "Table_1";
|
|
|
|
|
|
|
|
//Relation r(line1, my_attributes);
|
|
}
|