How anassamajane/cpp works
This repository is a collection of standalone C++ exercises, not one integrated application. Each exercise demonstrates a small domain workflow—from object-oriented models and administrative forms to generic containers and algorithms—through its own example program. The graph groups related exercises by topic and shows only relationships supported by the supplied source index or excerpts. Many implementation files were not sampled, so some exercise capabilities are represented by their existing source paths without inferred internal call chains.
Main entry points: ClapTrap.cpp ClapTrap family · Array.hpp Array template · easyfind.hpp Container search · Span.cpp Span
Components 24
Objects and Classes
- PhoneBook
cpp00/ex01/PhoneBook.cpp - Contact
cpp00/ex01/Contact.hpp - Weapon
cpp01/ex03/Weapon.hpp - Human A / B
cpp01/ex03/HumanA.cpp - Fixed-point
cpp02/ex02/Fixed.cpp - ClapTrap family
cpp03/ex02/ClapTrap.cpp
Polymorphism and Forms
- Animal hierarchy
cpp04/ex01/Animal.cpp - Brain
cpp04/ex01/Brain.cpp - Materia system
cpp04/ex03/AMateria.cpp - Character
cpp04/ex03/Character.cpp - MateriaSource
cpp04/ex03/MateriaSource.cpp - Bureaucrat
cpp05/ex02/Bureaucrat.cpp - Forms
cpp05/ex02/AForm.cpp - Intern
cpp05/ex03/Intern.cpp - Scalar conversion
cpp06/ex00/ScalarConverter.cpp - Serializer
cpp06/ex01/Serializer.cpp - Runtime identification
cpp06/ex02/main.cpp
Templates and Containers
- Array template
cpp07/ex02/Array.hpp - Container search
cpp08/ex00/easyfind.hpp - Span
cpp08/ex01/Span.cpp - MutantStack
cpp08/ex02/MutantStack.hpp
Data Algorithms
- Bitcoin exchange
cpp09/ex00/BitcoinExchange.cpp - RPN calculator
cpp09/ex01/RPN.cpp - PmergeMe
cpp09/ex02/PmergeMe.cpp
Connections 15
- PhoneBook → Contact: uses contacts
- Human A / B → Weapon: uses weapon
- ClapTrap family → ClapTrap family: extends base
- Animal hierarchy → Brain: owns brain
- Character → Materia system: equips materia
- MateriaSource → Materia system: creates materia
- Bureaucrat → Forms: signs and executes
- Intern → Forms: creates forms
- Array template → Array template: exercises template
cpp07/ex02/main.cpp - Container search → Container search: searches containers
cpp08/ex00/main.cpp - Span → Span: adds ranges
- MutantStack → MutantStack: iterates stack
cpp08/ex02/main.cpp - Bitcoin exchange → Bitcoin exchange: processes exchange
- RPN calculator → RPN calculator: evaluates expression
- PmergeMe → PmergeMe: sorts sequences