Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!tut.cis.ohio-state.edu!VAX1.CC.UAKRON.EDU!mcs.kent.edu!usenet.ins.cwru.edu!skybridge!davisp From: davisp@skybridge.SCL.CWRU.Edu (Palmer Davis) Newsgroups: comp.sys.next Subject: Re: Ok. So where are the C++ includes? Summary: RTFM! Keywords: green fuzzy bananas Message-ID: <1991Apr25.144122.8857@usenet.ins.cwru.edu> Date: 25 Apr 91 14:41:22 GMT References: Sender: news@usenet.ins.cwru.edu Distribution: comp Organization: TIDNU System Research Group Lines: 32 X-Post-Machine: yukon.scl.cwru.edu Nntp-Posting-Host: yukon.scl.cwru.edu In article hobbs@cs.odu.edu (Andrew John Hobbs) writes: >Sorry if I'm ignorant on this subject. I just got a book on C++ in obviously >mistaken impression that I can actually learn it. So I get ready to type in >the good old HelloWorld program that uses the supposedly standard streams.hxx >class of objects. Well and good. CC++ can't find it. I search and come >up with streams.h in the streams directory. Cool. Include that. cout is >not defined. ARGH!!! > RTFM. Specifically, get out your Digital Librarian and read in "2.0EntryPoint.rtf" in the release notes, where it says "NeXT does not ship any C++ libraries with Release 2.0." It then goes on to mention libg++, which has a set of stream routines in it. The streams in stream.h are *not* iostreams in the C++ sense, so it's not surprising that your C++ compiler barfed on them. > >Even to me this seems relatively straightforward. I've tried it on the Sun >SPARCs at school with the g++ compiler... > ...and libg++. Go get that, or better yet find a stream library that doesn't stick your code with the GPV. -- PTD -- -- Palmer T. Davis | davisp@scl.cwru.edu -OR- ptd2@po.cwru.edu Case Western Reserve University | {att,sun,decvax,uunet}!cwjcc!skybridge!davisp --------------------------------+---------------------------------------------- Just say no to interface fascism, software patents, and the GNU Public License.