Tengo un problema al ejecutar este codigo. Creo que se produce en el STRCMP pero soy muyyyy novato...
int ValidarNombreNoRep(Nombre_Act nom) // char[50]
{
   FILE * FAct;
   Reg_Actividad RA; //registro con  un campo Nombre_Act==char[50]   
   if((FAct=fopen("activi.dat","rb"))==NULL)
   {
      printf ("No se pudo abrir activi.dat");
      //exit(-1);
   }
   while(fread(&RA,sizeof(RA),1,FAct))      
      if(strcmp(RA.Nombre_Actividad,nom)==0) return 0;
   fclose(FAct);
   return 1;
}
Unhandled exception <exe> Access Violation...
->00401672   cmp         al,byte ptr [ecx]
Por favor es urgente alguna ayuda?
Gracias.