From: doodootron AT robotic DOT poopie (Doktor Technologicus) Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie iostream problem (I read the FAQ, I swear) Organization: Lab of Madness Message-ID: <3dabc08c.34632388@netnews.attbi.com> References: <3dab6a3d DOT 12537127 AT netnews DOT attbi DOT com> X-Newsreader: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 NNTP-Posting-Host: 12.228.115.236 X-Complaints-To: abuse AT attbi DOT com X-Trace: sccrnsc03 1034666148 12.228.115.236 (Tue, 15 Oct 2002 07:15:48 GMT) NNTP-Posting-Date: Tue, 15 Oct 2002 07:15:48 GMT Date: Tue, 15 Oct 2002 07:15:48 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On 15 Oct 2002 02:00:34 GMT, "A. Sinan Unur" wrote: >doodootron AT robotic DOT poopie (Doktor Technologicus) wrote in >news:3dab6a3d DOT 12537127 AT netnews DOT attbi DOT com: > >> This (test.cpp): >> >> int main() >> { >> return 0; >> } >> >> compiles and links just fine. >> >> But this (test.cpp again): >> >> #include >> >> int main() >> { >> return 0; >> } >> > >do you use gxx or gcc to compile and link? for C++, you should use gxx. Both give the same set of errors.