MB>> NULL is defined as being of type void *. If you want to be really
MB>> verbose about the null character, that should be '\0', which will be
MB>> clear enough for everybody:
MB>> 1. people will see it's an ascii char.
MB>> 2. compilers will see it's of type int, which is convertible to char.
JdBP> I spot a C programmer in the C++ echo ! (-:
Actually, I prefer C++, though I've read lots of C stuff, accidentally.
:-) and i often chat with C freaks.
JdBP> Everything that you say is correct for the C language, but is
JdBP> *incorrect* for the C++ language.
It feels great to be wrong, sometimes.
matju
--- Terminate 4.00/Pro
---------------
* Origin: The Lost Remains Of SatelliteSoft BBS (1:163/215.42)
|