.. (לתיקייה המכילה) | ||
Do you have any tips regarding how to write code to make this programming assignment easier? | |
Yes. See the folder FAQ->Programming Tips. |
We're a bit confused by the remark concerning 12,31,12x31, 24x60, etc not being constants. What do you mean by this? | |
This remark implies that, for example, holding an array of all hours in a day will not be considered to NOT comply with the space complexity requirement of the assignment. |
Can we assume that the date 31/12/INT_MAX will not be used? We need this for an "infinity value" among dates. | |
You may not assume this. Note, however, that there is a wide choice of illegal dates from which to choose an "infinity value". |
Can we assume there will only be dates from one particular year added to the system? | |
No, you may not. |
Running valgrind on our program, we get error messages of the type "invalid read of size 4". Will you disregard these errors? | |
These error messages should help you find problems with your code, such as reading memory that hasn't been allocated/has been freed. In short: No, we will not disregard these errors. |
I will submit the assignment after the due date. Do I have to submit the assignment differently (not electronically)? | |
No. Submit electronically to the course website - a .zip file containing your code and a pdf of the dry solution. |
How will we get feedback if we only submit the assignment electronically? | |
You will get feedback e-mailed back to you, to the mail addresses in the submissions.txt file you submit (as part of your .zip file). Do not forget this file, as this is the only way to give you your feedback. |
In case the function SetActiveDay(void* DS, day d) fails because there is no open day d in the data structure, what should be the active day after the call to this function? | |
If the function fails the active day should be unchanged. That is, the same as before. |