Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.68 KB

readme.md

File metadata and controls

47 lines (35 loc) · 1.68 KB

CPP Modules - 42 School

Welcome to my repository for the CPP modules from 42 School! This repository aims to provide well-documented and comprehensive solutions for the CPP exercises, serving as a valuable reference for other students and developers.

Table of Contents

Introduction

This repository contains solutions and explanations for the CPP modules from 42 School. Each module focuses on different aspects of C++ programming, providing a well-rounded understanding of the language. Whether you're a fellow 42 student or a C++ enthusiast, you'll find detailed code examples and explanations to help you grasp complex concepts.

Module List

  1. CPP Module 00 - Introduction to C++ and basic syntax
  2. CPP Module 01 - Memory allocation, references, and pointers
  3. CPP Module 02 - Ad-hoc polymorphism, operator overloading, and canonical classes
  4. CPP Module 03 - Inheritance
  5. CPP Module 04 - Subtype polymorphism, abstract classes, and interfaces
  6. CPP Module 05 - Repetition and exception handling
  7. CPP Module 06 - C++ casts
  8. CPP Module 07 - C++ templates
  9. CPP Module 08 - Templated containers, iterators, and algorithms

Usage

To use the solutions in this repository:

  1. Clone the repository

    git clone https://github.com/bonsthie/cpp.git
    cd cpp
  2. Navigate to the desired module directory

    cd module_directory
  3. Compile and run the code Each module contains a Makefile for compiling the code. Use the following commands to compile and run the executable:

    make
    ./executable_name