From: Ricardo Markiewicz Date: Mon, 12 Sep 2005 20:12:04 +0000 (+0000) Subject: Uso de write en AddKey X-Git-Tag: 1_0-pre1~147 X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/commitdiff_plain/c03f170abe6adaa72ff04318cb178cdcfb635f19?ds=sidebyside Uso de write en AddKey --- 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; }