From: firewind Newsgroups: comp.os.msdos.djgpp Subject: Re: Please Help!!! Im really stuck on this and the FAQs not helping Date: 5 Sep 1997 02:50:55 GMT Organization: Netcom Lines: 17 Message-ID: <5uns2f$83h@dfw-ixnews11.ix.netcom.com> References: <5uelvq$eul AT ns DOT technonet DOT com> <340F2C75 DOT 440B AT mho DOT net> NNTP-Posting-Host: elp-tx2-08.ix.netcom.com Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Joel Rosenthal wrote: > The answer is very simple: > instead of #include > use this: #include "iostream.h" > The quotes means it's in a nother directory. A wrong answer is much worse than no answer at all. Please verify your answer before posting. The poster's #include statement was correct, they just forgot to link with the C++ and\or iostream libraries, like so: gxx foo.cc -o foo.exe gcc foo.cc -o foo.exe -liostr -- [- firewind -] [- email: firewind AT metroid DOT dyn DOT ml DOT org (home), firewind AT aurdev DOT com (work) -] [- "You're just jealous because the voices talk to -me-." -]