Classwork 20
Logistics
- Due: Wednesday, April 19th AoE.
- Submission instructions: make sure that the required file (
dynamic.c
) is in your/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 dynamically allocate memory
Assignment
- Log in to the server.
- From your home directory, navigate to
classwork/week13/wed/
, creating directoriesweek13
andwed
if necessary. - Copy the
dynamic.c
file from/public/classwork/week13/wed
and fill in the two TODOs. You should only need to add two lines of code to the file.
Autograder
You can run the autograder yourself by running
/public/classwork/week13/wed/autograder.sh
The autograder.txt
file will be created or replaced. You may get a few lines of output about not being able to remove files, etc. This is okay.
Grading turnaround
The autograder will be run at 6am to calculate final scores. Scores will be uploaded to D2L by the next class period.