uh, yes. -1 is still an int. Thanks, ~~TheCreator~~ Visit TDS for quality software and website production http://tysdomain.com visit the piratecafe for programming related resources: http://piratecafe.net msn: [EMAIL PROTECTED] skype: st8amnd127 ----- Original Message ----- From: Bill Cunningham To: [email protected] Sent: Friday, August 08, 2008 2:53 PM Subject: Re: [c-prog] warning
----- Original Message ----- From: "Brett McCoy" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, August 08, 2008 4:40 PM Subject: Re: [c-prog] warning > You are still comparing the wrong thing here. If you want to check the > status of fclose(), you need to capture the integer value that gets > returned > by fclose(). > Does fclose return an int or pointer ? My reference says an int but isn't -1 considered an int ? Bill __________ NOD32 3338 (20080807) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com [Non-text portions of this message have been removed]
