Fill in the code in cfinal.c. No activity journal is required.
All internet resources, notes, and any other resources can be used. You have the 2 hours and 30 minutes
to complete this practicum.
Download
cfinal.zip. A Makefile is included for your convenience.
You do not need to run the program itself.
BUILD and TEST on hamilton
To build with debug symbols run the make utility:
> make
Run the unit tests (all unit tests MUST pass for full credit):
> ./test all
If you are having trouble with the last three tests crashing you can omit the "all" parameter.
Note that you are responsible for ALL tests passing!
> ./test
Check your code with valgrind. It must not report any errors for full credit:
> valgrind ./test all
Add the -s switch if you need more details on failures:
> valgrind -s ./test all
Place your completed cfinal.c file in a directory named
practice_final
at the top level of your git repo.
Be sure to follow these instructions exactly!
You must submit your code on time! Late submissions can result in a ZERO.
If you have trouble with Git you MUST email your code to your instructor during the test time! There will be a 5 point penalty for not submitting through GitLab. Submitting your code through the KGCOE GitLab website is acceptable.