March 20, 2004 <iostream> for c++ , DMC newbie | ||||
---|---|---|---|---|
| ||||
Hi, I am a complete newbie to c++ and DMC. I am a second year university student using c++ to study object oriented design. I have just downloaded DMC and STLport & extracted to D:\dm (Windows 2k) When I type "dmc hello.cc" from within windows command console from D:\dm\bin I get the message "unable to open input file iostream". hello.cc is in the D:\dm\bin directory. hello is a "hello world" program that works on the university unix server (listed at end). Can someone please tell me how to access the iostream library or tell me where to get the info? #include <iostream> int main() {std::cout << "Hello World!\n"; } |
March 23, 2004 Re: <iostream> for c++ , DMC newbie | ||||
---|---|---|---|---|
| ||||
Posted in reply to OwlNZ | Make sure you compile with: -I\dm\stlport\stlport "OwlNZ" <owlnz@yahoo.co.nz> wrote in message news:opr45jiuhsjc7spr@news.digitalmars.com... > > Hi, > I am a complete newbie to c++ and DMC. I am a second year university > student using c++ to study object oriented design. > > I have just downloaded DMC and STLport & extracted to D:\dm (Windows 2k) > > When I type "dmc hello.cc" from within windows command console from D:\dm\bin I get the message "unable to open input file iostream". hello.cc is in the D:\dm\bin directory. hello is a "hello world" program that works on the university unix server (listed at end). > > Can someone please tell me how to access the iostream library or tell me where to get the info? > > #include <iostream> > int main() > {std::cout << "Hello World!\n"; > } |
Copyright © 1999-2021 by the D Language Foundation