/* File compare *//* This program will compare two files and tell you if they are the same */int n1,n2,count,c,c2,a1,a2,a3;char name1[20],name2[20];main() $(  printf("Filename #1? ");  gets(name1);  printf("Filename #2? ");  gets(name2);  normalize(name1," ");  normalize(name2," ");  if((n1=copen(name1,'r'))<0) $(    printf("can't open %s\n",name1);    getkey();    exit();  $)  if((n2=copen(name2,'r'))<0) $(    printf("can't open %s\n",name2);    getkey();    exit();  $)  a1=a2=a3=count=0;  fast();  while((c=cgetc(n1))>=0) $(    if(c!=(c2=cgetc(n2))) $(      slow();      printf(" Files are different at  %d\n%s !=  %s\n%d != %d   $%x != $%x",count,name1,name2,c,c2,c,c2);      printf("  '%c' != '%c'\n",c,c2);      printf("$%x $%x $%x >%x< $%x $%x $%x\n",a1,a2,a3,c,cgetc(n1),cgetc(n1),cgetc(n1));      exit();    $)    ++count;    a1=a2;    a2=a3;    a3=c;  $)  if((cgetc(n2)>0)) $(    slow();    printf("%s is larger than %s\n",name2,name1);    exit();  $)  slow();  printf("%s == %s\n",name1,name2);  exit();$)