This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
dmspine64backup/test.cpp

31 lines
608 B
C++
Raw Normal View History

2015-09-14 15:04:54 -05:00
#include <iostream>
2015-09-15 20:16:58 -05:00
//#include "DBEngine.h"
#include <vector>
#include "Attribute.h"
2015-09-14 15:04:54 -05:00
2015-09-14 18:31:05 -05:00
using namespace std;
2015-09-15 20:55:21 -05:00
int main() {
Attribute atributo("shamWow", "VARCHAR(10)", false);
2015-09-15 20:16:58 -05:00
2015-09-15 20:55:21 -05:00
atributo.addRow("rag");
atributo.addRow("sponge");
atributo.addRow("wooow");
atributo.addRow("cloth");
2015-09-15 20:16:58 -05:00
atributo.display();
2015-09-15 20:55:21 -05:00
Attribute atributo2("doom", "VARCHAR(20)", false);
2015-09-15 20:16:58 -05:00
2015-09-15 20:55:21 -05:00
atributo2.addRow("zombieman");
atributo2.addRow("revenant");
atributo2.addRow("imp");
atributo2.addRow("archvile");
2015-09-15 20:16:58 -05:00
2015-09-15 20:55:21 -05:00
atributo2.display();
2015-09-15 20:16:58 -05:00
string line1 = "Table_1";
//Relation r(line1, my_attributes);
2015-09-15 10:21:16 -05:00
}