:: Re: [DNG] Dng Digest, Vol 13, Issue…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Hendrik Boom
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] Dng Digest, Vol 13, Issue 53
On Mon, Oct 19, 2015 at 09:09:03PM +0200, aitor_czr wrote:
> I use the '==' operator. For example, in the case of a file:
>
> FILE *fp;
>
> if ( fp = fopen ( "file_name", "w") == NULL) { ... error message,
> and exit... }


Won't that assign the result of the equality test to fp instead of the FILE *?

-- hendrik