#include #include //avtor Vrabič 2c int main() { FILE *fp; int c; char pause; fp = fopen("PODATKI.TXT", "r"); if (fp == NULL) { printf("File doesn't exist\n"); exit (EXIT_FAILURE); } else { do { c = getc(fp); /* get one character from the file */ putchar(c); /* display it on the monitor */ } while (c != EOF); /* repeat until EOF (end of file) */ } fclose(fp); pause = getchar (); return EXIT_SUCCESS; }