This repository has been archived on 2024-01-28. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#include "node.h"
|
|
|
|
int main(int argc, char **argv) {
|
|
node *root = new node("root");
|
|
root->add_child(new node("left child"));
|
|
root->add_child(new node("right child"));
|
|
delete root;
|
|
}
|