#include "cstdlib"
#include "Lista.hpp"
#include "Nodo.hpp"
#include "Iterador.hpp"
using namespace std;
Lista::Lista() {
head = NULL;
it = new Iterador(this);
}
Lista::~Lista(){}
void Lista::listar_elementos() {
it = new Iterador(head);
while ( !it->IsDone() ) {
it->Current()->imprime_dato();
it->Next();
}
}
sábado, 25 de agosto de 2007
Lista.cpp
Publicadas por yueany a la/s 4:46 p. m.
Etiquetas: Ayudantia Estructura de Datos
Suscribirse a:
Comentarios de la entrada (Atom)
No hay comentarios.:
Publicar un comentario