home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!taumet!steve
- From: steve@taumet.com (Steve Clamage)
- Subject: Re: Novice Questions
- Message-ID: <1992Sep3.163337.13948@taumet.com>
- Organization: TauMetric Corporation
- References: <1992Aug31.160703.324@ziff.com> <715452189snx@trmphrst.demon.co.uk>
- Date: Thu, 3 Sep 1992 16:33:37 GMT
- Lines: 27
-
- nikki@trmphrst.demon.co.uk (Nikki Locke) writes:
-
-
- >I HATE it when people do that ! (:-)
-
- >NULL is a POINTER which is guaranteed not to point to any valid location.
- >It may or may not have the bit pattern all zeroes.
-
- >'\0' (ASCII NUL) is the CHARACTER which is used to terminate strings.
-
- >Please do not confuse the novice by using NULL to mean NUL.
-
- I HATE it when people do that ! (:-)
-
- Neither C nor C++ is required to use the ASCII character set.
-
- A literal string in C and C++ will always be terminated by an
- implicit null character, meaning a character having zero value.
- In source code, this may be represented as '\0' (type char).
-
- This need have nothing to do with ASCII, although the ASCII character
- set happens to have a member of zero value which is called NUL
- when writing about the character set.
- --
-
- Steve Clamage, TauMetric Corp, steve@taumet.com
- Vice Chair, ANSI C++ Committee, X3J16
-