Submitting Assignment 0
Once you’ve finished everything, you are ready to submit your work. You are submitting your assignment results as commits that have to be pushed to the github repository. The section about staging and committing changes in VSCode gives you a good introduction on how to do this.
To summarize the tasks for this assignment:
- Implement the counting words functionality in the files
words/main.c
, make the first part of the tests pass. - Implement the missing functionalities in
words/word_count.c
to create a functional list implementation for the word counts. - Implement the
-f
functionality for the counting word program inwords/main.c
that prints the alphabetically ordered list of words with their counts, make the second part of the tests pass (runmake check
). - Implement the functionality for printing actual system limits in the file
limits.c
. Create a screenshot of the program’s output and add that to theresults
folder as part of your assignment submission. - Answer the questions from the sections GDB Basics and From Source Code to Executable. Feel free to use the template provided here. Place the file
answers.md
with your answers filled in theresults
directory as part of your assignment submission.
Please also note, that once you push to your repository, Github will compile and run your code automatically. This will result in a being added to the home page of your repository, telling you that all tests you added have successfully passed. If you see a
instead, then one or more of the tests in your code have failed and you will have to debug your code. Simply commit and push again once you have fixed the problems.
There is also an introduction to Git available that describes the overall concepts and the use of Git from a command line. It also answers some frequently asked questions.
We have a Github tutorial you might want to have a look at as well.
Last but not least, you can have a look at this document if you are interested in knowing more about Github Classroom.
And that’s it! You’re done!