This commit is contained in:
hexplor
2026-03-31 20:24:19 +02:00
parent d276a70600
commit c3ce60d1f4
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
/* Le commentaire en dehores du programme */ /* Le commentaire en dehores du programme */
void the_fonction_needed(void){ void the_fonction_needed(void){
const char* str = "#include <stdio.h>\n/*\tLe commentaire en dehores du programme */\n\nvoid\tthe_fonction_needed(void){\n\tconst char* str = %c%s%c\n\tprintf(str, 34, str, 34);\n\treturn;\n}\n\nint\tmain(void){\n/* LA FONCTION PRINCIPALE */\n\tthe_fonction_needed();\n\treturn 0;\n}\n"; const char* str = "#include <stdio.h>\n/* Le commentaire en dehores du programme */\n\nvoid the_fonction_needed(void){\n const char* str = %c%s%c\n printf(str, 34, str, 34);\n return;\n}\n\nint main(void){\n/* LA FONCTION PRINCIPALE */\n the_fonction_needed();\n return 0;\n}\n";
printf(str, 34, str, 34); printf(str, 34, str, 34);
return; return;
} }
BIN
View File
Binary file not shown.
+3 -4
View File
@@ -88,10 +88,9 @@ static int insert_into_section(char* arg, const char* name_out){
char* line = NULL; char* line = NULL;
size_t rded = 0; size_t rded = 0;
char* toInsert = NULL; char* toInsert = NULL;
int nbLineLandMark = search_landmark(out);
printf("%s: quining begining\n", __FUNCTION__); printf("%s: quining begining\n", __FUNCTION__);
while(1){
}
fclose(out); fclose(out);
return 0; return 0;
} }
@@ -135,6 +134,6 @@ int main(int argc, char **argv)
char* name_out = create_name_out(argv[1]); char* name_out = create_name_out(argv[1]);
cloning_file(argv[1], name_out); cloning_file(argv[1], name_out);
//insert_into_section(argv[1], name_out); insert_into_section(argv[1], name_out);
return 0; return 0;
} }