Finished the ex06 and the module 01

This commit is contained in:
Raphael 2024-11-06 20:11:33 +01:00
parent 618ebf8777
commit 7565eabf9b
8 changed files with 244 additions and 4 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/06 17:41:03 by rparodi #+# #+# */
/* Updated: 2024/11/06 18:11:34 by rparodi ### ########.fr */
/* Updated: 2024/11/06 19:43:50 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -38,7 +38,7 @@ void Harl::warning()
void Harl::complain(std::string level)
{
std::string categorie[] = {"debug", "error", "info", "warning"};
std::string categorie[] = {"debug", "info", "warning", "error"};
void (Harl::*choice[4])(void) = { &Harl::debug, &Harl::error, &Harl::info, &Harl::warning };
for (size_t i = 0; i < 4; i++)