Mail Archives: djgpp/1998/01/22/13:48:14
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.. . . .
- Raw text -