Try the  "comp.lang.c.moderated" group for C and C library questions.

You probably meant:

   if( fp != NULL )
       fclose( fp );

That is, "!= NULL" rather than "== NULL".

Reply via email to