#include #include #include int main() { char buf[1024]; FILE *f = fopen("art.txt", "r"); if (!f) { fprintf(stderr, "can't open art.txt\n"); return EXIT_FAILURE; } clrscr(); puts("\n"); while (fgets(buf, sizeof(buf), f)) fputs(buf, stdout); puts("\n\npress any key to exit"); getch(); return EXIT_SUCCESS; }