Skip to the task
Layout
Back to classic view

You are looking at lesson 11. Your place is still lesson 1, task 1: Algorithm.

EDITTask 9 of 20 · step 4: Error codes in the programbad.txt to the build folder too
bad.txt to the build folder too in practice/11/

course_data(measurements.txt bad.txt).

Checklist

  • Every task is one commit with a clear message.
  • Zero compiler warnings: the code builds with -Werror.
  • Once per topic you step through your code in the debugger (CLion, gdb).
  • Every function has preconditions and postconditions, and assert tests check them.
  • A multi-file program: .h files with Doxygen comments and their own CMake target.
  • Input only through the safe functions of your own input.h.
  • Every error code is checked (fopen, fclose, malloc and so on).
practice 11 CMakeLists.txt Code Diff +1 −1
M · MODIFIED Green = add, blue = change, red mark = removed line.
add_executable(p11_measurements measurements.c)
course_data(measurements.txt bad.txt)