11 lines
242 B
C++
11 lines
242 B
C++
#include "node.h"
|
|
|
|
int main(int argc, char **argv) {
|
|
node *t = create_complete_tree(2, 4);
|
|
delete t;
|
|
node *root = new node("root");
|
|
root->add_child(new node("left child"));
|
|
root->add_child(new node("right child"));
|
|
delete root;
|
|
}
|