This commit is contained in:
hexplor
2026-05-11 15:52:20 +02:00
parent c25d901220
commit 213293e530
5 changed files with 17 additions and 7 deletions
BIN
View File
Binary file not shown.
+14
View File
@@ -0,0 +1,14 @@
#include <stdio.h>
/* Le commentaire en dehores du programme */
void the_fonction_needed(void){
const char* str = "#include <stdio.h>%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;
}
+17
View File
@@ -0,0 +1,17 @@
.PHONY: all clean fclean re
all: Colleen
Colleen: Colleen.o
cc -g3 -o Colleen Colleen.o
Colleen.o: Colleen.c
cc -c -g3 Colleen.c
clean:
rm -f Colleen.o
fclean: clean
rm -f Colleen
re: fclean all