#include #include int main(){ FILE *f,*f1; char c; f = fopen("ulaz.txt","r"); f1 = fopen("izlaz.txt","w"); if(f==NULL || f1==NULL){ printf("Otvaranje datoteke nije uspelo.\n"); exit(EXIT_FAILURE); } while((c=getc(f))!=EOF){ putc(c,f1); } fclose(f); fclose(f1); }