Blame view

dico.h 453 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);
003d3e48   bjeanlou   update6 withHash
10
  bool 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*);
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); 
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