Skip to content

jakobsitory/05_CPP07_42CC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Module 07

This repository contains solutions to various C++ programming challenges from the 42 School curriculum. Each module is designed to deepen students' understanding of different programming concepts and techniques.

Exercises

ex00 - Start with a few functions

A few utility functions to demonstrate basic C++ functionality.

Key objectives included:

  • Implementing utility functions.
  • Demonstrating an understanding of function templates.
  • Ensuring proper function implementation and usage.

ex01 - Iter

A template function that applies a given function to each element of an array.

Key objectives included:

  • Implementing a template function to iterate over an array.
  • Applying a given function to each element of the array.
  • Demonstrating an understanding of templates and iterators in C++.

ex02 - Array

A template class that mimics the behavior of a standard array.

Key objectives included:

  • Implementing a template class for an array.
  • Providing methods for accessing and modifying array elements.
  • Demonstrating an understanding of templates and class design in C++.

Installation

To install the project, follow these steps:

  1. Clone the repository: git clone git@github.com:jakobsitory/05_CPP07_42CC.git
  2. Navigate to the project directory: cd 05_CPP07_42CC
  3. Navigate to the exercise directory : cd ex00, cd ex01 ...
  4. Build the project: make

Usage

Follow the on-screen instructions to test the programs.

ex00 - Start with a few functions

./Templates

ex01 - Iter

./Iterate

ex02 - Array

./Array

About

Introduction to templating in C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published