#ifndef __LISTE_HPP #define __LISTE_HPP #include "element.hpp" typedef int Elm; struct Cellule { Elm info; Cellule * next; Cellule() { }; Cellule(Elm i) { info = i; } }; struct Liste { Cellule *bidon; Liste(); Liste(const Liste & l); ~Liste(); Liste & operator = (const Liste & l); }; bool testListeVide(const Liste & l); Elem premierElement(const Liste & l); Cellule * premiereCellule(const Liste & l); Cellule * celluleSuivante(const Cellule *c,const Liste & l); Elem elementCellule(const Cellule * c); void affichageListe(const Liste & l); void ajoutEnTete(const Elem & e,Liste & l); void suppressionEnTete(Liste & l); void videListe(Liste & l); void ajoutEnQueue(const Elem & e,Liste & l); Cellule * rechercheElement(const Elem & e,Liste &l); void insereElementApresCellule(const Elem & e,Cellule *c, Liste & l); void modifieInfoCellule(const Elem & e,Cellule *c, Liste & l); #endif