No, they're exactly the same.

----- Original Message -----
From: "Jerry Eckert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 04, 2000 12:56 PM
Subject: RE: C question


> Thanks to everyone for the suggestions for comparing a list of strings.
For
> now I think I'll stay with the if..else if.. for simplicity.
>
> One more question:
>
> To test two strings for equality, is there a difference between
>
>     if (strcmp(s1, s2) == 0)
> and
>     if (! strcmp(s1, s2))
>
> Jerry
>
>
> **********************************************************
> To unsubscribe from this list, send mail to
> [EMAIL PROTECTED] with the following text in the
> *body* (*not* the subject line) of the letter:
> unsubscribe gnhlug
> **********************************************************
>


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to