I get a seg-fault when I execute: ./speller ~cs50/pset5/texts/austinpowers.txt > student.txt
I think the problem is at Line 115-116 in Check() but I don't know why I have a memory access violation here:
cursor = cursor->children[hash]; if (cursor->children[hash] == NULL)
Also, every word is misspelled.
Valgrind Output: http://pastebin.com/WVcfWZ0c
C Code(1 month to expiry): http://pastebin.com/eHdbUA2Z
Edit: I fixed the program and it's working now. See comments.