home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / g / help / 1208 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  980 b 

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!purdue!bu.edu!lll-winken!seismo!brennan
  2. From: brennan@seismo.CSS.GOV (Mary Ann Brennan)
  3. Newsgroups: gnu.g++.help
  4. Subject: Re: using cout in a constructor SUMMARY
  5. Message-ID: <51203@seismo.CSS.GOV>
  6. Date: 9 Sep 92 14:57:25 GMT
  7. Sender: usenet@seismo.CSS.GOV
  8. Organization: Center for Seismic Studies, Arlington, VA
  9. Lines: 15
  10.  
  11.  
  12. On 8 Sep 92 20:37:39 GMT, I posted a question about why using cout in a
  13. constructor caused a core dump when a static global was initialized, noting
  14. that printf produced the intended result without problems.
  15.  
  16. I have learned that the order of initialization of globals is not yet
  17. well defined, I should be using the 2nd edition of Stroustrup's
  18. "The C++ Programming Language" not my old copy, and that I should get
  19. a newer version of gcc (2.2.2) and g++ on which my example works.
  20.  
  21. Thanks to Ed Barton and Aksnes Knut-Havar for their quick and helpful
  22. responses.
  23.  
  24. Mary Ann Brennan
  25. brennan@seismo.css.gov
  26.