I've managed to compile my pset5 code, but when trying to run the program I keep getting "Could not load dictionaries/large" (or /small depending on what I entered at command line).
I have checked that the dictionaries large & small are in the current directory from where I try to run the program (workspace/pset5/speller). To be specific, I have entered the following commands: ./speller dictionaries/small texts/cat.txt ./speller dictionaries/large texts/cat.txt ./speller texts/cat.txt I would get the same "Could not load dictionaries" error for all.
Please see a screenshot:
Does anyone know what I'm doing wrong?