I'm trying to import some c code into my c++ program. There are three lines that don't import directly:
The first:
free(t);
The second:
new_node = (Tree *) malloc (sizeof (Tree));
The third:
Tree * delete(int value, Tree * t)
How can these be changed to work in C++?