How rvnsenkuuu/cpp-modules works
This repository is a sequence of independent 42 C++ exercises, not one integrated application. The user-to-result path varies by exercise: a small main program invokes a domain class or utility and prints the result. The graph groups related exercises by topic and retains major capabilities visible in the tree and SOURCE INDEX. Most implementation files were not sampled, so links are limited to relationships shown by indexed references or excerpts; there is no evidence of cross-exercise runtime wiring.
Main entry points: ex03/main.cpp Forms Demo · ex01/main.cpp Serialization Demo · Serializer.cpp Pointer Serialization · ex03/main.cpp Materia Demo
Components 33
Basics and Values
- Phonebook
cpp00/ex01/Phonebook.cpp - Phonebook Driver
cpp00/ex01/main.cpp - Fixed-Point Arithmetic
cpp02/ex02/Fixed.cpp - Fixed-Point Demo
cpp02/ex02/main.cpp
Object-Oriented Models
- Trap Inheritance
cpp03/ex03/DiamondTrap.cpp - Trap Demo
cpp03/ex03/main.cpp - Polymorphic Animals
cpp04/ex00/Animal.cpp - Animal Demo
cpp04/ex00/main.cpp - Materia Inventory
cpp04/ex03/Character.cpp - Materia Factory
cpp04/ex03/MateriaSource.cpp - Materia Demo
cpp04/ex03/main.cpp
Bureaucracy Forms
- Grade Management
cpp05/ex03/Bureaucrat.cpp - Executable Forms
cpp05/ex02/AForm.cpp - Concrete Form Actions
cpp05/ex02/RobotomyRequestForm.cpp - Form Creation
cpp05/ex03/Intern.cpp - Forms Demo
cpp05/ex03/main.cpp
C++ Language Tools
- Pointer Serialization
cpp06/ex01/Serializer.cpp - Serialization Demo
cpp06/ex01/main.cpp - Generic Algorithms
cpp07/ex00/CompareSwap.h - Iterator Function
cpp07/ex01/Iter.h - Generic Array
cpp07/ex02/Array.hpp - Container Search
cpp08/ex00/Easyfind.hpp - Integer Span
cpp08/ex01/Span.cpp - Iterable Stack
cpp08/ex02/MutantStack.hpp - Template Demo
cpp07/ex00/main.cpp - Iterator Demo
cpp07/ex01/main.cpp - Array Demo
cpp07/ex02/main.cpp - Search Demo
cpp08/ex00/main.cpp - Span Demo
cpp08/ex01/main.cpp - Stack Demo
cpp08/ex02/main.cpp
Algorithms and Data
- Bitcoin Exchange
cpp09/ex00/BitcoinExchange.cpp - Reverse Polish Notation
cpp09/ex01/RPN.cpp - Merge-Insertion Sort
cpp09/ex02/PmergeMe.cpp
Connections 19
- Phonebook Driver → Phonebook: uses
cpp00/ex01/main.cpp - Fixed-Point Demo → Fixed-Point Arithmetic: exercises
cpp02/ex02/main.cpp - Trap Demo → Trap Inheritance: uses
cpp03/ex03/main.cpp - Animal Demo → Polymorphic Animals: uses
cpp04/ex00/main.cpp - Materia Demo → Materia Factory: creates
cpp04/ex03/main.cpp - Materia Demo → Materia Inventory: equips and uses
cpp04/ex03/main.cpp - Forms Demo → Grade Management: creates
cpp05/ex03/main.cpp - Forms Demo → Form Creation: requests forms
cpp05/ex03/main.cpp - Forms Demo → Executable Forms: signs and executes
cpp05/ex03/main.cpp - Forms Demo → Concrete Form Actions: tests actions
cpp05/ex03/main.cpp - Serialization Demo → Pointer Serialization: serializes pointers
cpp06/ex01/main.cpp - Serialization Demo → Pointer Serialization: deserializes pointers
cpp06/ex01/main.cpp - Serialization Demo → Pointer Serialization: uses data type
cpp06/ex01/main.cpp - Template Demo → Generic Algorithms: calls utilities
cpp07/ex00/main.cpp - Iterator Demo → Iterator Function: uses
cpp07/ex01/main.cpp - Array Demo → Generic Array: uses
cpp07/ex02/main.cpp - Search Demo → Container Search: searches containers
cpp08/ex00/main.cpp - Span Demo → Integer Span: uses
cpp08/ex01/main.cpp - Stack Demo → Iterable Stack: uses
cpp08/ex02/main.cpp