Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!cmcl2!dasys1!jpr From: jpr@dasys1.UUCP (Jean-Pierre Radley) Newsgroups: comp.lang.c Subject: Re: Abandon NULL for (0) Message-ID: <10839@dasys1.UUCP> Date: 3 Oct 89 21:19:53 GMT References: <14718@bfmny0.UU.NET> <8241@goofy.megatest.UUCP> Reply-To: jpr@dasys1.UUCP (Jean-Pierre Radley) Organization: TANGENT Lines: 14 In article <8241@goofy.megatest.UUCP> djones@megatest.UUCP (Dave Jones) writes: >This topic comes up in this group every now and then. After all the arguing >is over -- and it can take months -- the survivers come to the conclusion >that NULL is a mistake, but it's too late to correct it. Just say, >(FILE*)0, or (char*)0, or whatever. I have found my code to more readable if I use these two defines: #define NULLC (char *)0 #define NULLF (FILE *)0 -- Jean-Pierre Radley jpr@jpradley.uucp New York, NY 72160.1341@compuserve.com