Editing signatures

Hello everyone,

I just wondered if we are allowed to change the signatures of the given functions, except generateDict (because it is specifically mentioned in the PDF that this signature has to stay the same)?

Would help me alot :smiley:

Thanks,
David

Hi,

this is generally not a good idea because our tests call your functions with the given signatures, which is why we provide the signatures to you in the header files in the first place.

Hope this answers your question,

Niklas

1 Like

Read: Do not do this!!! The unit tests will invoke the function using the old definition. If this does not conform, you get undefined behavior, which means the program is wrong but the tests might only fail nondeterministically.

1 Like