Vi posto subito il codice per rendere l'idea:

codice:
   if (strstr (s, par3) != NULL)
                   {
                   printf ("%s\n", s);
                   y++;
                   }
    if (strstr (s, par3) == NULL)
                   {
                   x++;
                   } 
                   
    if (strstr (s, par4) != NULL)
                   {
                   printf ("%s\n", s);
                   y++;
                   }
    if (strstr (s, par4) == NULL)
                   {
                   x++;
                   }
Come posso verificare se la stringa sparata a video S nell caso del par4 sia uguale a quella del par3 e APPUNTO SE SONO UGUALI NON FARLA STAMPARE?

ho provato anche in questo modo:

codice:
   if (strstr (s, par3) || strstr(s, par4) != NULL)
                   {
                   printf ("%s\n", s);
                   y++;
                   }
             if (strstr (s, par3) || strstr(s, par4) == NULL)
                   {
                   x++;
                   }
ma così mi da risultati sbagliati non so perchè

Attendo un vostro parere

CIAO A TUTTI