X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/ea7b8df3fe6725846831da271c70d0b77eecfe55..b68e2575b18e9ca726c7fc076d3565e5f778c173:/src/main.cpp?ds=sidebyside diff --git a/src/main.cpp b/src/main.cpp index c405fba..c60cd14 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,9 +6,13 @@ int main (int argc, char *argv[]) { BTree tree ("test.idx", 1024); - ClaveFija c(5); - tree.AddKey (c); + for (int i=0; i<10000; i++) { + ClaveFija c(i); + + std::cout << "Agregando " << i << std::endl; + tree.AddKey (c); + } return 0; }