#include #include #include int main(int argn , char** const argv) { if ((strcmp(argv[1],"-a"))!=0){ FILE *f; FILE *l; int octet; f=fopen(argv[3],"a"); l=fopen(argv[2],"r"); fread(&octet,1,1,l); while (!(feof(l))){ fwrite(&octet,1,1,f); fread(&octet,1,1,l); fclose(l); fclose(f); } } return 0; }