Re: C again
Re: C again
- Subject: Re: C again
- From: John Randolph <email@hidden>
- Date: Tue, 2 Sep 2003 13:39:30 -0700
On Aug 30, 2003, at 6:41 PM, Angela Brett wrote:
while (((ch = PEEK (myFile)) != EOF) && (error = 0))
I think you mean (error==0)
About a month ago, there was a rather long thread in this list about
using a macro like
#define is ==
to preclude this kind of error.
Look for it in the archives under the subject "C question for you old
guys".
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.