Résultat du TP en C sur Forth
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pileInt.h 426B

12345678910111213141516171819202122232425
  1. #ifndef PILE_INT_H_
  2. #define PILE_INT_H_
  3. #include "definitions.h"
  4. struct ListInt {
  5. programPointer i;
  6. struct ListInt* next;
  7. };
  8. struct PileInt {
  9. struct ListInt* l;
  10. unsigned int height;
  11. };
  12. void initPileI( struct PileInt* p );
  13. void pushPileI( struct PileInt* p, programPointer i );
  14. int topPileI( struct PileInt* p );
  15. void popPileI( struct PileInt* p );
  16. void endPileI( struct PileInt* p );
  17. #endif // PILE_H_