This repository contains all the files that appeared on the course.
- October 17, 2023 (13:00 - 15:00 CEST)
- October 24, 2023 (13:00 - 15:00 CEST)
- October 31, 2023 (13:00 - 15:00 CEST)
- November 7, 2023 (13:00 - 15:00 CEST)
- November 14, 2023 Final (13:00 - 15:00 CEST)
- Basics of C, file management, binary, line-by-line file reading, pointers, "strings" etc.
- More practical use of C, where a CRUD app is written by together (data storage in a file, data recording, modification, deletion, filtering)
- Forks and processes with C
- Handling of signals
- Use of pipes between processes (pipes, named pipes)
- Shared memory, Semaphores
- Tasks summarizing all previously mentioned topics, "where a given situation must be simulated”.
gcc
and the name of the .c file. -> default output a.out
We can run it as ./a.out
Different switches:
• -o switch to specify an output file option instead of the default a.out
e.g. gcc arg.c -o first
and then we can run it as ./first
• -Werror switch, for displaying different errors
e.g. gcc -Werror arg.c -o first
• Wall switch, which checks both errors and warnings
e.g. gcc -Wall arc.c -o first