Blame view

dico.h 385 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);
8c671959   bjeanlou   No more seg fault
10
  byte addto_dico(dico,const string);
0bc3d1ad   bjeanlou   dico created
11
  
a0fe64d2   bjeanlou   Update dico
12
  
0bc3d1ad   bjeanlou   dico created
13
  void loadfrom_file(dico,FILE*);
a89bb625   bjeanlou   Update 8 withHash
14
  void loadfrom_keyboard(dico);
0bc3d1ad   bjeanlou   dico created
15
16
  
  void printto_file(dico,FILE*);
a89bb625   bjeanlou   Update 8 withHash
17
  void printto_terminal(dico);
cf53766d   bjeanlou   update2 dico
18
19
20
21
  void print(tree,FILE*,string);
  
  void strupper(string str);
  
fd1ee590   bjeanlou   Update7 withHash
22
  bool is_in(dico,string);
0bc3d1ad   bjeanlou   dico created
23
24
  
  #endif