Blame view

dico.h 363 Bytes
0bc3d1ad   bjeanlou   dico created
1
2
3
4
5
  #ifndef DICO_H
  #define DICO_H
  
  #include "treeh.h"
  
a0fe64d2   bjeanlou   Update dico
6
  typedef tree dico[NBCHAR];
0bc3d1ad   bjeanlou   dico created
7
8
9
  
  void make_empty_dico(dico);
  void delete_dico(dico);
0bc3d1ad   bjeanlou   dico created
10
11
  bool addto_dico(dico,string);
  
a0fe64d2   bjeanlou   Update dico
12
  
0bc3d1ad   bjeanlou   dico created
13
  void loadfrom_file(dico,FILE*);
11c78e6d   bjeanlou   update5 withHash
14
  void loadfrom_keyboard(dico);//i.e. loadfrom_file(dico,stdin); 
0bc3d1ad   bjeanlou   dico created
15
16
  
  void printto_file(dico,FILE*);
11c78e6d   bjeanlou   update5 withHash
17
  void printto_terminal(dico);//i.e. printto_file(dico,stdout); 
0bc3d1ad   bjeanlou   dico created
18
19
20
  
  
  #endif