diff --git a/index.c b/index.c index 563c1f4..8aec059 100644 --- a/index.c +++ b/index.c @@ -2,6 +2,15 @@ int main() { printf("Content-type: text/plain\n\n"); - printf("Hello from C\n"); + printf("Hello from C!\n\n"); + + int c; + FILE *file; + file = fopen("index.c", "r"); + if (file) { + while ((c = getc(file)) != EOF) + putchar(c); + fclose(file); + } return 0; }