0

When I try to 'make' speller, I get this error message: ./dictionary.h:17:2: error: #endif without #if

How can this be, when we were given the dictionary.h file? I haven't changed anything there. The specs say we may change dictionary.h, but it doesn't say we need to. Do I need to add some #if? Would I add this after the #define s and before the functions??

if // DICTIONARY_H

Thanks.

0

Is it possible that your dictionary.h file is corrupted or that you have an out of date version? For starters, it should contain the following line near the top:

#ifndef DICTIONARY_H

Try re-downloading the file and replacing the current one.

If this answers your questionm, please click on the check mark to accept. Let'sw keep up on forum maintenance. ;-)

1
  • That must have been it, that error is gone. Thank you! – Marie Urbina Jun 19 '18 at 21:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .