36 lines
530 B
C
36 lines
530 B
C
|
#include <iostream>
|
||
|
#include <string>
|
||
|
#include <typeinfo>
|
||
|
using namespace std;
|
||
|
|
||
|
|
||
|
#ifndef FILE_HEADER
|
||
|
#define FILE_HEADER
|
||
|
|
||
|
class file{
|
||
|
protected :
|
||
|
cellule *courante;
|
||
|
cellule *premiere;
|
||
|
cellule *derniere;
|
||
|
int nb_cellules;
|
||
|
|
||
|
public :
|
||
|
|
||
|
file();
|
||
|
void inserer_Element(figure *el);
|
||
|
void supprimer_Element();
|
||
|
bool est_Vide();
|
||
|
figure *get_Tete_De_Queue();
|
||
|
int get_Nb_Elements();
|
||
|
cellule *get_Courante();
|
||
|
cellule *get_Derniere();
|
||
|
void avancer();
|
||
|
void libereeeeeeeeer();
|
||
|
|
||
|
class vide {
|
||
|
public:
|
||
|
void grondage();
|
||
|
};
|
||
|
};
|
||
|
#endif
|