{
char F1[20] = {0};
char F2[20] = {0};
char F3[20] = {0};
char ch;
FILE *pf1, *pf2, *pf3;
printf("intput the two source files name :");
scanf("%s %s",F1,F2);
printf("input the des file name: ");
scanf("%s",F3);
printf("%s %s %s",F1,F2,F3);
if(NULL == (pf1 = fopen(F1,"rb"))) return 0;
if(NULL == (pf2 = fopen(F2,"rb"))) return 0;
if(NULL == (pf3 = fopen(F3,"wb+"))) return 0;
while((ch=fgetc(pf1))!=EOF)
putc(ch,pf3);
while((ch=fgetc(pf2))!=EOF)
putc(ch,pf3);
fclose(pf1);
fclose(pf2);
fclose(pf3);