Commit 395ede86215f8d392107b77852df5ae0922afa22

Authored by bjeanlou
1 parent 4043090f

update3 withHash

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
@@ -46,13 +46,13 @@ int hash(char c){ @@ -46,13 +46,13 @@ int hash(char c){
46 //needs to check c wether isalpha or '\'' 46 //needs to check c wether isalpha or '\''
47 if(c='\'') 47 if(c='\'')
48 return 0; 48 return 0;
49 - return c%64; 49 + return c%32;
50 } 50 }
51 51
52 52
53 53
54 // 54 //
55 -bool addto_tree(tree t,string s,bool isIn){ 55 +bool addto_tree(tree t,string s,unsigned int index,bool isIn){
56 //recursive, when called : set isIn to true 56 //recursive, when called : set isIn to true
57 //return wether s is already in t or not 57 //return wether s is already in t or not
58 if(s[0]=='\0'){ 58 if(s[0]=='\0'){