update: pushing the start ex04 of the module 01

This commit is contained in:
raphael 2024-11-06 14:09:29 +01:00
parent 2b197d8d05
commit 08a23cc42b
6 changed files with 291 additions and 0 deletions

21
cpp01/ex04/err_msg.hpp Normal file
View file

@ -0,0 +1,21 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* err_msg.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/05 15:26:18 by rparodi #+# #+# */
/* Updated: 2024/11/05 15:53:05 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef ERR_MSG_HPP
# define ERR_MSG_HPP
#include "color.hpp"
#define ERR_PREFIX "Error:\n"
#define ARGS_MISSING "Please give 3 arguments: <filename> <to_replace> <by_word> !"
#define FILE_CANT_OPEN ": The file cannot be open !"
#endif