cpp/tp1/pile.h
2021-12-18 14:57:21 +01:00

22 lines
393 B
C++
Executable file

#ifndef PILE_H_INCLUDED
#define PILE_H_INCLUDED
class t_pile
{
private :
int m_jeton[10];
int m_imax;
public :
t_pile(void);
t_pile(int customImax, int customJeton[]);
void initialiser(void);
void empiler(int newJeton);
void depiler(void);
int sommet(void);
int dernier_jeton(void);
~t_pile(void);
};
#endif // PILE_H_INCLUDED