Blame view

dico.h 376 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
13
14
  bool is_word(byte endKind);//pass end_kind() as parameter
  byte end_kind(string);
  
0bc3d1ad   bjeanlou   dico created
15
16
17
18
19
20
21
22
  void loadfrom_file(dico,FILE*);
  void loadfrom_keyboard(dico);
  
  void printto_file(dico,FILE*);
  void printto_terminal(dico);
  
  
  #endif