Error inserting data in binary tree
- by chepe263
I copied this code (in spanish) http://www.elrincondelc.com/nuevorincon/index.php?pag=codigos&id=4 and wrote a new one.
This is my code:
#include <cstdlib>
#include <conio.h>
#include <iostream>
using namespace std;
struct nodoarbol {
int dato;
struct nodoarbol *izq;
struct nodoarbol *der;
};
typedef nodoarbol…