How openrsi/tp_progc works
Project type and purpose
• This is an educational monorepo containing six independent C “travaux pratiques” (TP1–TP6) for a C programming course.
• Each TP folder represents one set of exercises demonstrating a particular topic (basic operators, pointers, file I/O, data structures, client-server sockets, BMP image handling, etc.).
File structure
• Top level:
• .gitignore, README.md – repo metadata
• TP1 … TP6 – six separate lab assignments
• evaluation, gdb, images – auxiliary scripts and docs
• Inside each TPx:
• TPx.md – exercise descriptions
• src/ – C source files and headers, sometimes a Makefile
• TP5 adds an “etudiant” directory simulating student data files
• Patterns:
• TP1–TP3: standalone small C programs illustrating basic constructs
• TP4: adds modular code with .h/.c pairs and a main.c
• TP5–TP6: client/server architecture and advanced I/O (file system for notes, BMP image processing)
README for additional insights
• Confirms educational goal: demonstrate compilation chain, standard libraries, system calls, buffers, structures, simple client-server, testing.
Essential elements
• Clear labels: name each TP module and its purpose.
• Data flow in client-server (TP5 & TP6).
• Build flow: source → compiler → binary.