mirror of
https://github.com/Ladebeze66/cpp-partie-2.git
synced 2025-12-16 05:57:57 +01:00
ex0II
This commit is contained in:
parent
f6d7defd9c
commit
12ec1fdecc
@ -6,7 +6,7 @@
|
||||
# By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# 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 :
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* 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 */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* 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é
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user