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.
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.
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++.
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++.
To install the project, follow these steps:
- Clone the repository:
git clone git@github.com:jakobsitory/05_CPP07_42CC.git
- Navigate to the project directory:
cd 05_CPP07_42CC
- Navigate to the exercise directory :
cd ex00
,cd ex01
... - Build the project:
make
Follow the on-screen instructions to test the programs.
./Templates
./Iterate
./Array