From 12ec1fdecc9ae78faa7a9007009a464189f21559 Mon Sep 17 00:00:00 2001 From: Ladebeze66 Date: Sun, 25 Feb 2024 20:10:22 +0100 Subject: [PATCH] ex0II --- cpp06/ex00/Makefile | 6 +++--- cpp06/ex00/ScalarConverter.cpp | 2 +- cpp06/ex00/main.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp06/ex00/Makefile b/cpp06/ex00/Makefile index 1a92a5c..2f3ebe9 100644 --- a/cpp06/ex00/Makefile +++ b/cpp06/ex00/Makefile @@ -6,7 +6,7 @@ # By: fgras-ca +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2023/12/27 20:57:42 by fgras-ca #+# #+# # -# Updated: 2024/02/25 19:53:36 by fgras-ca ### ########.fr # +# Updated: 2024/02/25 20:04:45 by fgras-ca ### ########.fr # # # # **************************************************************************** # @@ -23,7 +23,7 @@ CYAN = \033[0;96m WHITE = \033[0;97m ORANGE = \033[38;5;214m -NAME = ScalarConverter +NAME = convert SRC = ScalarConverter.cpp \ main.cpp \ @@ -41,7 +41,7 @@ all : $(NAME) $(NAME) : $(OBJS) @echo "$(RED)Compilation fixed... $(DEF_COLOR)" $(CC) $(CFLAGS) $(OBJS) -g -o $(NAME) - @echo "$(GREEN)Compilation complete. $(ORANGE)Type "./ScalarConverter" to execute the program!!$(DEF_COLOR)" + @echo "$(GREEN)Compilation complete. $(ORANGE)Type "./convert" to execute the program!!$(DEF_COLOR)" $(LOGO) clean : diff --git a/cpp06/ex00/ScalarConverter.cpp b/cpp06/ex00/ScalarConverter.cpp index 98013ff..9aae9ea 100644 --- a/cpp06/ex00/ScalarConverter.cpp +++ b/cpp06/ex00/ScalarConverter.cpp @@ -6,7 +6,7 @@ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/25 19:33:13 by fgras-ca #+# #+# */ -/* Updated: 2024/02/25 20:00:34 by fgras-ca ### ########.fr */ +/* Updated: 2024/02/25 20:06:27 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ diff --git a/cpp06/ex00/main.cpp b/cpp06/ex00/main.cpp index bc641c4..cbb9f56 100644 --- a/cpp06/ex00/main.cpp +++ b/cpp06/ex00/main.cpp @@ -6,7 +6,7 @@ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/25 19:50:26 by fgras-ca #+# #+# */ -/* Updated: 2024/02/25 19:52:52 by fgras-ca ### ########.fr */ +/* Updated: 2024/02/25 20:09:05 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ @@ -22,7 +22,7 @@ int main(int argc, char** argv) for (int i = 1; i < argc; ++i) { - std::cout << "Converting '" << argv[i] << "':" << std::endl; + std::cout << MAGENTA << "Converting '" << argv[i] << "':" << RESET << std::endl; ScalarConverter::convert(argv[i]); std::cout << std::endl; // Ajoutez une ligne vide entre les conversions pour une meilleure lisibilité }