Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #ifndef DEF_LISTE
- #define DEF_LISTE
- #include "Element.h"
- using namespace std;
- class Liste/* : public Element*/{
- protected:
- Element *first;
- public:
- Liste();
- Liste(int elt);
- Element Tete(Element *L);
- Element Fin(Element *L);
- void setFirst(int elt);
- Element* getFirst();
- void Affiche();
- void Ajoute_tete(int elt);
- void Ajoute_fin(int elt);
- Element* Supprime_tete(Element *L);
- Element* Supprime_fin(Element *L);
- Element* Supprime(Element *L,int x);
- bool estVide(Element *L);
- bool isElement(Element *L,int x);
- Element* Recherche(Element *L,int x);
- Element* Element_i(Element *L,int indice);
- Element* Transfert(Liste *L,Liste *M,Element *p,Element *q);
- };
- #endif
Add Comment
Please, Sign In to add comment