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