From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie iostream problem (I read the FAQ, I swear) Date: 15 Oct 2002 02:00:34 GMT Organization: Cornell University Lines: 29 Sender: asu1 AT cornell DOT invalid (on pool-141-149-206-22.syr.east.verizon.net) Message-ID: References: <3dab6a3d DOT 12537127 AT netnews DOT attbi DOT com> NNTP-Posting-Host: pool-141-149-206-22.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1034647234 27956 141.149.206.22 (15 Oct 2002 02:00:34 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 15 Oct 2002 02:00:34 GMT User-Agent: Xnews/5.04.25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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. -- A. Sinan Unur asu1 AT c-o-r-n-e-l-l DOT edu Remove dashes for address Spam bait: mailto:uce AT ftc DOT gov