9 lines
190 B
C++
9 lines
190 B
C++
|
#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;
|
||
|
}
|