www.delorie.com/archives/browse.cgi | search |
To: | eyalb AT aks DOT com |
Cc: | djgpp AT delorie DOT com |
Subject: | Re: delete NULL? |
Message-ID: | <19970217.174351.7567.1.fwec@juno.com> |
References: | <2 DOT 2 DOT 32 DOT 19970217010047 DOT 00686a98 AT mailhost> |
From: | fwec AT juno DOT com (Mark T Logan) |
Date: | Mon, 17 Feb 1997 17:37:35 EST |
On Sun, 16 Feb 1997 23:00:47 -0200 Eyal Ben-David <eyalb AT aks DOT com> writes: >1. It is not recommended to use NULL in C++. Use 0 (zero) instead. > ANSI C does not force the identity NULL == 0. In C++ the null >pointer > is ALWAYS 0. Thank you for your reply. However, I have one question. If NULL always equals 0 in C++, why shouldn't I use NULL? TIA -Fwec
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |