Classwork 23
Logistics
- Due: Wednesday, November 8th AoE.
- Submission instructions: make sure that the required file (
dynamic.c
) is in yourcsci112_spring2024/classwork/week13/wed/
directory. - Deadline reminder: after the deadline passes, you cannot earn any points for this assignment.
Learning outcomes
- Practice using
malloc
andcalloc
to allocate memory on the heap.
Assignment
- Log in to the server.
- From your home directory, navigate to
csci112_spring2024/classwork/week13/wed/
, creating directoriesweek13
andwed
if necessary. - Copy the file
/public/classwork/week13/wed/dynamic.c
into your directory.
Fill in the three TODO
items. You should only need to add four lines of code.
Autograder
You can run the autograder by running
/public/classwork/week13/wed/autograder.sh
The file autograder.txt
will be created with your score.
Grading turnaround
The autograder will be run at 6am to calculate final scores. Scores will be uploaded to D2L by the next class period.