Debugging is the process of finding and fixing errors in software that prevents it from running correctly. As you become a more advanced programmer and an industry engineer, you will learn how to use debugging tools such as
gdb
or built-in tools that IDEs have. However, it’s important to understand the concepts and processes of debugging manually.
File | Description |
---|---|
Header File | File contain all the prototypes of all function used. |
Main file 1 | Test that the function positive_or_negative() gives the correct output when given a case of 0. |
Main File 2 | An updated version of the same file had some issues |
Largest of Three | A program prints the largest of three integers. |
Leap year | A file contains a fixation the print_remaining_days() function so that the output works correctly for all dates and all leap years. |
- All files will be compiled on Ubuntu 20.04 LTS using
gcc
, using the options-Wall -Werror -Wextra -pedantic -std=gnu89
. - All files should end with a new line
- The code should use the Betty style. It will be checked using
betty-style.pl
andbetty-doc.pl