On the advice of the following statement in the instructions for pset5:
"You may add functions to dictionary.c or to files of your own creation so long as all of your code compiles via make."
I decided to make a trie.h and trie.c file for my trie functionality. Everything compiles and passes all check50 checks (as well as my own manual checks)
to get check50 to work I ran it with extra arguments like this:
check50 2015.fall.pset5.speller dictionary.c dictionary.h trie.c trie.h Makefile
Before submitting I ran make clean (assuming the grading bot would compile)
My grade results came back 0.
My questions:
1. Can I submit pset5 like explained above or do I need to combine my code into dictionary.c? (note: everything compiles fine in the appliance)
2. Do I need to have the compiled speller
executable inside the pset5.zip?
Additional info
My MakeFile changes:
# space-separated list of header files
HDRS = dictionary.h trie.h
# space-separated list of libraries, if any,
# each of which should be prefixed with -l
LIBS =
# space-separated list of source files
SRCS = speller.c dictionary.c trie.c