How wmbolles/42 works
Project type and purpose
• This repository is a monolithic “journey‐log” open-source archive rather than a single application. It documents two phases:
• 42-Piscine: a set of standalone C exercises and shell scripts (selection bootcamp).
• 42-Cursus: the main curriculum, a collection of independent projects in C and C++ (libraries, tools, IPC, shells, graphics, threads, OOP modules).
• Its purpose is educational: to catalog implementations, dependencies, documentation and reusable libraries.
File structure
• Top-level directories:
• 42-Piscine/
• 42-Cursus/
• README.md at root (overview)
• Under 42-Piscine: grouping by day (“c00”→“c11”), shell fundamentals, rush00 weekend projects, images.
• Under 42-Cursus: each project is its own folder with Makefile, sources and headers:
– Libft (core C library)
– ft_printf (custom printf)
– get_next_line (file reader)
– Minitalk (IPC via signals)
– fract-ol (graphical fractals)
– Minishell (Unix shell)
– Philosophers (thread/synchronization)
– Cpp-Modules (series of C++ exercises)
• Notice sub-dirs that indicate dependencies: many Cursus projects include or duplicate Libft, ft_printf, get_next_line.
README for additional insights
• The high-level README outlines the two phases, technologies (C, C++, Shell), tools (Make, GDB, Valgrind), and coding pedagogy.
a. Main components
• “42-School-Journey” monorepo (root)
• Phase 1: 42-Piscine
• Phase 2: 42-Cursus
• Reusable libraries: Libft, ft_printf, get_next_line
• Standalone executables/projects: Minitalk, fract-ol, Minishell, Philosophers, Cpp-Modules
b. Relationships & interactions
• Within Piscine, there is no cross-dependency—each exercise is isolated.
c. Architectural patterns & design principles
• Monorepo structure: co-located but logically independent modules.
• Layered dependency graph: core libraries at the bottom, tools/executables at the top.
• Each project follows a “Makefile + src + include” convention.
d. Technologies & frameworks
• Language nodes: C, C++, Shell scripts
• Toolchain: Make, GCC, GDB, Valgrind
Detailed but not over-engineered
• Lay out two columns: left = Piscine, right = Cursus.
• Under Cursus, place Libft, ft_printf, get_next_line at bottom as foundational blocks.