FILE *in,*out;char ch = 0;int Count = 0;in = fopen("src.txt","r");out = fopen("res.txt","w");while(!feof(in)) { fscanf(in,"%c",&ch); fprint(out,"%c",ch); Count++; if(Count > 14) { Count = 0; fprintf(out,"/r/n"); } }