As you can see here valgrind is angry about some lines but I have no idea why, I've seem other people with similar problem here but different than mine.
Also, it seems my program can't handle the basic words test, except when I do it myself creating a dictionary with the words and a text file both containing "the quick brown fox jumps over the lazy dog" I pass the test, so that's weird.
There's some weird problem too when I run ./speller texts/ANYOFTHETEXTS sometimes I get the right ammount of misspeled words and sometimes I get more misspeled words than it actualy should be.
Here's my code:
[removed code per academic honesty guidelines]
Any help/tips will be much appreciated.