🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2421

Re: references wanted

#2421
From: Konrad Schwarz
Date: Thu, 28 Mar 1996 00:00
14 lines
752 bytes
In article <4ja3of$p7m@solutions.solon.com>, Chris Hockett <75024.3236@CompuServe.COM> writes:
|> What is wrong with typecasting NULL to whatever type you are 
|> testing against?
|> 
|> i.e.
|> 
|> tMyType *ptr;
|> 
|> if(ptr == (tMyType *) NULL)
|>    ...

Obfustication.

Konrad Schwarz
Technical Details
Message-ID: <4jckr6$a71@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4imak1$e0j@solutions.solon.com> <4ja3of$p7m@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: schwarz@mips.complang.tuwien.ac.at (Konrad Schwarz)
Newsgroups: comp.lang.c.moderated
Subject: Re: references wanted
Date: 27 Mar 1996 18:00:38 -0600
Organization: TU Wien
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4jckr6$a71@solutions.solon.com>
References: <4imak1$e0j@solutions.solon.com> <4ja3of$p7m@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com