Thread overview |
---|
June 17, 2003 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 |
June 19, 2003 Re: why haven't I been succeed in compiler? | ||||
---|---|---|---|---|
| ||||
Posted in reply to wukexin | 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 > > |
July 01, 2003 Re: why haven't I been succeed in compiler? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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 > > > > > > |
Copyright © 1999-2021 by the D Language Foundation