home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13448 < prev    next >
Encoding:
Text File  |  1992-09-09  |  918 b   |  19 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!secapl!Cookie!frank
  3. From: frank@Cookie.secapl.com (Frank Adams)
  4. Subject: Re: Novice Questions
  5. Message-ID: <1992Sep09.205639.109507@Cookie.secapl.com>
  6. Date: Wed, 09 Sep 1992 20:56:39 GMT
  7. References: <1992Sep3.163337.13948@taumet.com> <715660909snx@trmphrst.demon.co.uk>
  8. Organization: Security APL, Inc.
  9. Lines: 8
  10.  
  11. The general meaning of "null" is something like "a special value of a type
  12. which represents the absence of any of the conventional values".  See, for
  13. example, SQL, where every type is defined to have a null value.  This is
  14. perfectly consistent with the use of "null" both for null pointers and for
  15. the character '\0' in C/C++.  (Although it is *possible* to write programs
  16. in C which treat '\0' as just another character, neither the language nor
  17. its libraries encourage this.  Instead, '\0' is treated as a special value
  18. which does not represent a character.)
  19.