home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / cplus / 16544 < prev    next >
Encoding:
Text File  |  1992-11-18  |  980 b   |  27 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!sun-barr!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!metro!seagoon.newcastle.edu.au!mars!mazz
  3. From: mazz@mars (Richard Mazzaferri)
  4. Subject: Re: self-reproducing C++ program
  5. Message-ID: <mazz.722147924@mars>
  6. Sender: news@seagoon.newcastle.edu.au
  7. Organization: Uni of Newcastle, Australia
  8. References: <1919@alcbel.be> <1992Nov17.144939.21793@cc.gatech.edu>
  9. Date: Thu, 19 Nov 1992 04:38:44 GMT
  10. Lines: 15
  11.  
  12. brianm@cc.gatech.edu (Brian N. Miller) writes:
  13.  
  14. >In article <1919@alcbel.be> ldup@ta7s49.alcbel.be (Luc Duponcheel) writes:
  15.  
  16. >> <<';'<<
  17.  
  18. >This won't work, because character constants are converted to ints.
  19. >This will output the ascii decimal equivalent of ';', right?
  20.  
  21. No, <stream.h> had this behaviour, but <iostream.h> outputs chars as chars.
  22.  
  23.     Mazz.
  24. --
  25. Richard Mazzaferri        Ph.D. student          Uni. of Newcastle 
  26.   Ph (049) 216254   mazz@faceng.newcastle.edu.au     Australia.
  27.