0

Per the specification, we are not allowed to alter the declarations of load, check, size, or unload in dictionary.c or dictionary.h. Yet in Zamyla's walkthrough for unload, if one implements with a trie, she suggests using recursion. The declaration of unload is bool unload(void). I think I have a good function in the works, but how could I ever write a recursive function if that function does not take any arguments?

3
  • 2
    Write your good function, then call it from unload? – DinoCoderSaurus Mar 2 '17 at 19:53
  • @DinoCoderSaurus - yeah, got that to work, so all is good. I just thought it a bit weird for instructors not to give a heads up about that possible situation, like maybe I was missing something. But, maybe that was just part of the test. – Brian Mar 2 '17 at 22:50
  • 1
    Great idea! Now, would one of you please submit it as an answer instead of a comment? Or are we trying to create another orphaned unanswered question? Maybe we need to impose penalties for this, like 40 lashes with a wet noodle? ;-) – Cliff B Mar 2 '17 at 23:51

You must log in to answer this question.

Browse other questions tagged .