I've been banging my head for the last few hours as to why my dictionary function only saves one word from the whole dictionary. Even though debug50 and printf shows different hashes for different words, which are stored in different pointers, check50 still shows only 1 word in the dictionary. I would be very grateful if someone could lead me on the right track!
[EDIT - unrelated code removed.]
// Returns number of words in dictionary if loaded, else 0 if not yet loaded
unsigned int size(void)
{
// Checks if glob_dict_no greater than 0
if (glob_dict_no > 0)
{
return true;
}
return false;
}