I have tried testing my code normally with the provided dictionaries and texts, and it seems to work, producing the expected results in a reasonable amount of time. However, when I use check50, it seems to think my program is producing no output:
Results for cs50/problems/2020/x/speller generated by check50 v3.1.2
:) dictionary.c, dictionary.h, and Makefile exist
:) speller compiles
:( handles most basic words properly
expected "MISSPELLED WOR...", not ""
:( handles min length (1-char) words
expected "MISSPELLED WOR...", not ""
:( handles max length (45-char) words
expected "MISSPELLED WOR...", not ""
:( handles words with apostrophes properly
expected "MISSPELLED WOR...", not ""
:( spell-checking is case-insensitive
expected "MISSPELLED WOR...", not ""
:( handles substrings properly
expected "MISSPELLED WOR...", not ""
The only thing I can figure is that it is segfaulting or producing some other error, but I can't think what it would do for check50 that it wouldn't do when I test it normally. Does anyone know why this might be happening and what I can do about it?