X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/b0999d0c64b37aee18260b6ba0f2dda47a974c6a..31b3562c020843ce3f6900f0d02d4679710defd7:/src/main.cpp?ds=sidebyside diff --git a/src/main.cpp b/src/main.cpp index 0ad6845..c405fba 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,14 +1,14 @@ #include "btree.h" +#include "clave_fija.h" int main (int argc, char *argv[]) { - BTree *tree; + BTree tree ("test.idx", 1024); + ClaveFija c(5); - tree = new BTree ("test.idx", 1024); - - delete tree; + tree.AddKey (c); return 0; }