diff --git a/ASM/Makefile b/ASM/Colleen/Makefile similarity index 100% rename from ASM/Makefile rename to ASM/Colleen/Makefile diff --git a/C/Colleen/Colleen b/C/Colleen/Colleen deleted file mode 100755 index f19c1e1..0000000 Binary files a/C/Colleen/Colleen and /dev/null differ diff --git a/C/Colleen/Makefile b/C/Colleen/Makefile index c93748f..74e0bc5 100644 --- a/C/Colleen/Makefile +++ b/C/Colleen/Makefile @@ -1,4 +1,4 @@ -.PHONY: all clean fclean re +.PHONY: all clean fclean re test all: Colleen @@ -15,3 +15,6 @@ fclean: clean rm -f Colleen re: fclean all + +test: + ./Colleen > tmp_Colleen ; diff tmp_Colleen Colleen.c diff --git a/C/Colleen/tmp_Colleen b/C/Colleen/tmp_Colleen new file mode 100644 index 0000000..3cfd3d6 --- /dev/null +++ b/C/Colleen/tmp_Colleen @@ -0,0 +1,14 @@ +#include +/* Le commentaire en dehores du programme */ + +void the_fonction_needed(void){ + const char* str = "#include %c/*%cLe commentaire en dehores du programme */%c%cvoid%cthe_fonction_needed(void){%c%cconst char* str = %c%s%c;%c%cprintf(str, 10, 9, 10, 10, 9, 10, 9, 34, str, 34, 10, 9, 10, 9, 10, 10, 10, 9,10, 9, 9, 10, 9, 10, 9, 10, 10);%c%creturn;%c}%c%cint%cmain(void){%c/*%cLA FONCTION PRINCIPALE%c*/%c%cthe_fonction_needed();%c%creturn 0;%c}%c"; + printf(str, 10, 9, 10, 10, 9, 10, 9, 34, str, 34, 10, 9, 10, 9, 10, 10, 10, 9,10, 9, 9, 10, 9, 10, 9, 10, 10); + return; +} + +int main(void){ +/* LA FONCTION PRINCIPALE */ + the_fonction_needed(); + return 0; +}