Blame view

dico.h 488 Bytes
0bc3d1ad   bjeanlou   dico created
1
2
3
4
  #ifndef DICO_H
  #define DICO_H
  
  #include "treeh.h"
ccb47d03   bjeanlou   menu quit ok
5
  #include "functions.h"
0bc3d1ad   bjeanlou   dico created
6
  
a0fe64d2   bjeanlou   Update dico
7
  typedef tree dico[NBCHAR];
0bc3d1ad   bjeanlou   dico created
8
9
10
  
  void make_empty_dico(dico);
  void delete_dico(dico);
8c671959   bjeanlou   No more seg fault
11
  byte addto_dico(dico,const string);
0bc3d1ad   bjeanlou   dico created
12
  
a0fe64d2   bjeanlou   Update dico
13
  
0bc3d1ad   bjeanlou   dico created
14
  void loadfrom_file(dico,FILE*);
a89bb625   bjeanlou   Update 8 withHash
15
  void loadfrom_keyboard(dico);
0bc3d1ad   bjeanlou   dico created
16
17
  
  void printto_file(dico,FILE*);
a89bb625   bjeanlou   Update 8 withHash
18
  void printto_terminal(dico);
cf53766d   bjeanlou   update2 dico
19
20
21
  void print(tree,FILE*,string);
  
  void strupper(string str);
fb520d8f   bjeanlou   v1 ended
22
  //uppers all letters in str
cf53766d   bjeanlou   update2 dico
23
  
ccb47d03   bjeanlou   menu quit ok
24
25
  byte is_in(dico,string);
  void test_words(dico,FILE*inStream,FILE*outStream);
0bc3d1ad   bjeanlou   dico created
26
27
  
  #endif