0

So

:) dictionary.c, dictionary.h, Makefile exist  
:( speller compiles
   \ expected output, not standard error of "dictionary.o: In function `check':\n/va..."  

The code is working (not as fast as i anted but still) and valgrind shows no memory leaks and no errors

==4345== HEAP SUMMARY:
==4345==     in use at exit: 0 bytes in 0 blocks
==4345==   total heap usage: 367,084 allocs, 367,084 frees, 82,227,504 bytes allocated
==4345== 
==4345== All heap blocks were freed -- no leaks are possible
==4345== 
==4345== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==4345== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

So what I need is actually more info on this error. Is it something wrong with my check function?

4
  • Can you share your relevant code? The problem seems to be in check() function.
    – t.m.
    Mar 14, 2017 at 17:22
  • Compile fails, are you sure it compiles locally using make, and you haven't changed any files you don't have to upload?
    – Blauelf
    Mar 14, 2017 at 17:46
  • @Blauelf I've changed speller.c and noticed only now that i was not supposed to alter it as per specification. I'll correct it now to see if this as the case. Mar 14, 2017 at 17:56
  • Yes that was it. So the answer is just to read specifications closely. Mar 14, 2017 at 18:03

1 Answer 1

0

As @Blauelf noticed the problem was that I've change the file that I was not supposed to change (this case I've changed speller.c)

You must log in to answer this question.

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