C programming examples for the 2019–2020 academic year.
| Topic | Source code |
|---|---|
| Output, variables, and scope | bonjour.c, variables.c, portee.c |
| Input and string conversions | scanf.c, fgets.c, sscanf.c, atoi.c, atof.c |
| Strings and comparisons | chaine.c, strlen.c, strncmp.c |
| Arrays and loops | tableauint.c, for.c, while-break.c |
| Pointers and memory allocation | pointeur.c, cptrcptr.c, malloc.c, calloc.c |
| Structures and type aliases | struct.c, typedef.c |
| Functions and command line arguments | bonjour-function.c, bonjour-function-argv-argc.c |
| Preprocessing and headers | preprocesseur.c, preprocesseur.h, message.h |
| File input and output | fichier-lecture.c, fichier-ecriture.c, fichier-ecriture-ajout.c |
| Directory traversal | readdir.c |