feat: finishing the first exercice of the module 08

This commit is contained in:
Raphael 2025-04-03 13:38:08 +02:00
parent 5b2003363f
commit b408444a43
4 changed files with 245 additions and 0 deletions

34
cpp08/ex00/easyfind.hpp Normal file
View file

@ -0,0 +1,34 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* easyfind.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/03 10:16:18 by rparodi #+# #+# */
/* Updated: 2025/04/03 11:46:18 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include <algorithm>
#include <iostream>
#include <stdexcept>
#include <vector>
#include <list>
#define CLR_RESET "\033[0m"
#define CLR_BLACK "\033[0;30m"
#define CLR_RED "\033[0;31m"
#define CLR_GREEN "\033[0;32m"
#define CLR_YELLOW "\033[0;33m"
#define CLR_BLUE "\033[0;34m"
#define CLR_MAGENTA "\033[0;35m"
#define CLR_CYAN "\033[0;36m"
#define CLR_WHITE "\033[0;37m"
#define CLR_GOLD "\033[38;5;220m"
#define CLR_GREY "\033[38;5;240m"
#include "easyfind.tpp"