Skip to content

Introduction to templated containers, iterators and algorithms in C++

Notifications You must be signed in to change notification settings

jakobsitory/05_CPP08_42CC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Module 08

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 - Easy find

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.

ex01 - Span

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.

ex02 - Mutated abomination

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.

Installation

To install the project, follow these steps:

  1. Clone the repository: git clone git@github.com:jakobsitory/05_CPP08_42CC.git
  2. Navigate to the project directory: cd 05_CPP08_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 - Easy find

./easyfind

ex01 - Span

./SpanCalc

ex02 - Mutated abomination

./MutantStack

About

Introduction to templated containers, iterators and algorithms in C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published