www.digitalmars.com         C & C++   DMDScript  

c++.stl.port - <iostream> for c++ , DMC newbie

reply OwlNZ <owlnz yahoo.co.nz> writes:
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";
}
Mar 20 2004
parent "Walter" <walter digitalmars.com> writes:
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";
 }
Mar 23 2004