TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: MATHIEU BOUCHARD
from: BOB STOUT
date: 1998-01-28 20:48:00
subject: converting char to string

On , Mathieu Bouchard (1:163/215.42@fidonet) wrote: 
 > NULL is reserved for pointers; i often use 0 instead, though. I'm not
 > sure whether it is actually desirable that i recommend using 0,
 > though... :-)
Mathieu...
  Actually, NULL is obsolescent in C++ - the standard says to simply use 0 
instead for a null pointer. The rest of your message is correct in suggesting 
the use of '\0' to represent ASCII NUL as being clearer than 0 and certainly 
more correct than NULL. 
--- QM v1.00
---------------
* Origin: MicroFirm : Down to the C in chips (1:106/2000.6)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.