This is an archived copy of a previous semester's site.
Please see the current semester's site.
Looking to explore PNGs a bit more? This MP plus-plus is for you!
In your CS 340 directory, merge the initial starting files with the following commands:
git fetch release
git merge release/mp2pp --allow-unrelated-histories -m "Merging initial files"Complete the png_dimensions function in png-dimensions.c in the mp2pp folder.
The function must:
png_filename,width and height of the file into the provided pointers, and0 on success and non-zero on any failure.Once you have locally passed all the tests, you will need to submit and grade your code. First commit using the standard git commands:
git add -A
git commit -m "MP submission"
git pushThe initial grading is done via a manual GitHub Action. You MUST complete this step before the deadline to earn any points for the MP:
ActionTab
mp2pp autograding
Run Workflowbutton (located on the blue bar)
Run Workflow
MP plus-pluses award extra credit, but only if all tests (autograder and valgrind) pass.