Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Modules

This repository contains the 42 C++ module track, a progression of focused exercises that move from basic syntax into object-oriented design, inheritance, polymorphism, templates, exceptions, casts, STL containers, and algorithmic thinking.

The value of the project is in the repetition: each small program isolates one concept and builds confidence with C++ without relying on a framework.

What it covers

  • C++ class design and encapsulation
  • Constructors, destructors, copy constructors, and assignment operators
  • The Canonical Orthodox Form
  • Operator overloads
  • Fixed-point arithmetic
  • Inheritance and polymorphism
  • Abstract classes and interfaces
  • Exceptions and error handling
  • C++ casts
  • Templates and generic programming
  • STL containers and algorithms

Repository structure

cpp00/ ... cpp09/   Module exercises
examr5/             Exam practice
examr52/            Additional exam practice

Each exercise usually contains its own:

Makefile
*.hpp
*.cpp
main.cpp

Build and run

Enter an exercise directory:

cd cpp04/ex03
make
./game

The executable name depends on the exercise Makefile.

Useful commands

make
make clean
make fclean
make re

Technical highlights

  • Keeps each concept isolated in a small, reviewable program
  • Uses strict compiler flags across exercises
  • Practices memory ownership and object lifetime repeatedly
  • Builds from simple command-line programs into larger class hierarchies

Skills demonstrated

  • C++ fundamentals
  • Object-oriented programming
  • Debugging compiler and linker issues
  • Reading and implementing precise project specifications
  • Building disciplined habits across many small codebases

Notes

These modules are educational by design. Together, they show the progression from C-style thinking into idiomatic C++ structure and abstraction.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages