X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/3a9e92af5fe004d068e161c66e308e4401dfc21b..c03f170abe6adaa72ff04318cb178cdcfb635f19:/src/btree.cpp?ds=inline diff --git a/src/btree.cpp b/src/btree.cpp index 9591ec8..8803d20 100644 --- a/src/btree.cpp +++ b/src/btree.cpp @@ -66,6 +66,11 @@ void BTree::AddKey (const Clave &k) std::cout << "__NO__ hay lugar para meter la clave" << std::endl; } + + WriteKeys (root, root_header, node_keys); + WriteNodoHeader (root, &root_header); + write_block (root, 0); + delete [] root; }