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 function template to find an element in a container.
Key objectives included:
- Implementing a function template to search for an element.
- Demonstrating the use of standard library containers and algorithms.
- Ensuring proper handling of search results.
A class that can store a range of numbers and provide methods to find the shortest and longest spans between them.
Key objectives included:
- Implementing a
Span
class to store numbers. - Providing methods to find the shortest and longest spans.
- Demonstrating an understanding of algorithms and container manipulation.
A class that uses various standard library algorithms to perform complex operations on a container.
Key objectives included:
- Implementing a class that performs complex operations using standard library algorithms.
- Demonstrating the use of multiple algorithms in a single class.
- Ensuring proper resource management and algorithm efficiency.
To install the project, follow these steps:
- Clone the repository:
git clone git@github.com:jakobsitory/05_CPP08_42CC.git
- Navigate to the project directory:
cd 05_CPP08_42CC
- Navigate to the exercise directory :
cd ex00
,cd ex01
... - Build the project:
make
Follow the on-screen instructions to test the programs.
./easyfind
./SpanCalc
./MutantStack