dico.c
312 Bytes
#include "dico.h"
void make_empty_dico(dico d){
for(int i=0;i<NB1CHAR;i++)
d[i]=NULL;
}
void delete_dico(dico_d){
for(int i=0;i<NB1CHAR;i++)
delete_tree(d[i]);
}
int hash2(char c){
//needs to check isalpha==true
if(c<='Z')
return c-'A';
return c-'a'+26;
}
bool addto_dico(dico,string){}