Im not quite sure what is the problem with checking the words in the dictionary against loaded texts. All words within in the loaded txts return mispelled even with my dictionary loaded with the right number of words. I searched through other responses similar to this question but i couldn't find anything helpfull to debug my dictionary.c. Could someone (anyone) please point me into the right direction to fix this? Any help would be appreciated.
UPDATED code, with applied fixes.
[code hidden]
UPDATE: I have followed the first three pointers Cliff has given me(and they work as expected), but I am still having trouble implementing number 4. Below is what what I've tried, but to no avail I am still having the same output as before.
int s = strlen(word);
char checker[LENGTH + 1];
for(int i = 0; i < s; i++)
checker[i] = tolower(word[i]);
checker[s] = '\0';