21 lines
433 B
C
21 lines
433 B
C
#include <stdio.h>
|
|
#include <unistd.h>
|
|
|
|
#define QUINE(parenthesis) "\
|
|
#include <stdio.h>%c\
|
|
#include <unistd.h>%c\
|
|
%c\
|
|
#define QUINE(%c##parenthesis##%c) %C%s\
|
|
%c\
|
|
#define FT##parenthesis##x##parenthesis FT(x)%c\
|
|
%c\
|
|
FT(QUINE(())
|
|
|
|
#define FT(x) int main(){\
|
|
FILE *file = fopen("Grace_kid.c", "w");\
|
|
fprintf(file, x, 10, 10, 10, 10, 34, x, 34, 10, 10, 10, 10, 10, 34, 34, 34, 34, 10, 10, 10, 10, 10);\
|
|
return 0;\
|
|
}
|
|
|
|
FT(QUINE('('))
|