This commit is contained in:
Ladebeze66 2024-02-25 20:10:22 +01:00
parent f6d7defd9c
commit 12ec1fdecc
3 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
# By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ # # By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2023/12/27 20:57:42 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 WHITE = \033[0;97m
ORANGE = \033[38;5;214m ORANGE = \033[38;5;214m
NAME = ScalarConverter NAME = convert
SRC = ScalarConverter.cpp \ SRC = ScalarConverter.cpp \
main.cpp \ main.cpp \
@ -41,7 +41,7 @@ all : $(NAME)
$(NAME) : $(OBJS) $(NAME) : $(OBJS)
@echo "$(RED)Compilation fixed... $(DEF_COLOR)" @echo "$(RED)Compilation fixed... $(DEF_COLOR)"
$(CC) $(CFLAGS) $(OBJS) -g -o $(NAME) $(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) $(LOGO)
clean : clean :

View File

@ -6,7 +6,7 @@
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */ /* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/25 19:33:13 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 */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View File

@ -6,7 +6,7 @@
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */ /* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/25 19:50:26 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) 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]); ScalarConverter::convert(argv[i]);
std::cout << std::endl; // Ajoutez une ligne vide entre les conversions pour une meilleure lisibilité std::cout << std::endl; // Ajoutez une ligne vide entre les conversions pour une meilleure lisibilité
} }