Blame view

functions.h 435 Bytes
ccb47d03   bjeanlou   menu quit ok
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  #ifndef FUNCTIONS_H
  #define FUNCTIONS_H
  
  #include <stdlib.h>
  #include <string.h>
  
  int saisie(int min,int max);
  int ctoi(char);
  void pause();
  void clear();
  
  typedef char* string;
  typedef struct _cell cell,*stringLIFO;
  struct _cell{string val;cell* next;};
  
  stringLIFO init_stringLIFO();
  int is_emptyLIFO(stringLIFO);
  void push(stringLIFO*,string);
  string pop(stringLIFO*);
  string top(stringLIFO);
  void delete_LIFO(stringLIFO*);
  
  #endif