#include #include //ESTRUCTURA DE UN NODO struct INFO { int dato; struct INFO *sig; }; //CLASE LISTA LIGADA class Listas { struct INFO *raiz; public: void Insertar (int); void Mostrar (void); void Eliminar_todo(void); void Eliminar (int); Listas() {raiz=NULL; } }; //DEFINICION DE METODOS void Listas::Insertar(int dato) { struct INFO *temp; struct INFO *ant; struct INFO *pos; temp=new (struct INFO); (*temp).dato=dato; if (raiz==NULL) { raiz=temp; (*raiz).sig=NULL; } else { if((*raiz).dato>dato) //temp.dato { (*temp).sig=raiz; raiz=temp; } else { ant=raiz; pos=(*raiz).sig; while(((*pos).dato