Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - why haven't I been succeed in compiler?
#include<iostream> using namespace std; int main() { cout<<"This is a test program."<<endl; } //error show fatal error: unable to open input file 'iostream' --- errorlevel 1 Jun 17 2003
Try: dmc -I\dm\stlport\stlport test.cpp "wukexin" <wukexin sina.com> wrote in message news:bcnaji$1aej$1 digitaldaemon.com...#include<iostream> using namespace std; int main() { cout<<"This is a test program."<<endl; } //error show fatal error: unable to open input file 'iostream' --- errorlevel 1 Jun 18 2003
Like Walter said. Put the stlport/stlport in your sc.ini include path before the defualt include path. DMC defaults to the SGI C++SL which has a rather...experimental(they said it, not me)...iostream foundation. The namespaces and C++STD header w/o .h are not supported yet, to my knowledge. Praise STLPort! <dances ceremonial dance> "Walter" <walter digitalmars.com> wrote in message news:bcrptt$2d5o$3 digitaldaemon.com...Try: dmc -I\dm\stlport\stlport test.cpp "wukexin" <wukexin sina.com> wrote in message news:bcnaji$1aej$1 digitaldaemon.com...#include<iostream> using namespace std; int main() { cout<<"This is a test program."<<endl; } //error show fatal error: unable to open input file 'iostream' --- errorlevel 1 Jul 01 2003
|