From: jah AT rrnet DOT com (Hjelmo) Newsgroups: comp.os.msdos.djgpp Subject: Re: [Q] Can djgpp compile the C++ source ??? Date: 21 Jan 1998 22:01:37 GMT Organization: atomly :: [pHiXx|VorteX/rC/nothing] Lines: 27 Message-ID: <6a5r81$hp$3@news.rrnet.com> References: <34c7ce4e DOT 2169674 AT news DOT kreonet DOT re DOT kr> Reply-To: phixx@@usa..net NNTP-Posting-Host: rrnet.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Kim,Young-Jae (ngc7000 AT gong DOT snu DOT ac DOT kr) wrote: : Hi all... : I'm a beginner of DJGPP... : I've received some binary files in http://www.delorie.com/dgjpp : and installed to the directory c:\djgpp, and done all things in the : web page describing to install... : And I typed some source file and command to compile it... : c:\> gcc arraynew.cpp -o arraynew.exe : but it reports various error message, which says it cannot load : "iostream.h"... : I've found that "iostream.h" is in the directory "c:\djgpp\lang\cxx" : not in the directory "c:\djgpp\include"... : The following is my source code... : Plz, let me know whether djgpp can compile C++ code or not !!! Yes it can, but you must use gxx instead of gcc, which is just a wrapper of sorts that calls gcc with a -l... So you should: gxx arraynew.cpp -o arraynew.exe -- atomly@@mindless..com :: [pHiXx/VorteX] :: phixx@@usa..net . . ..remove the extraneous punctuation in my addresses.. . . .