www.digitalmars.com         C & C++   DMDScript  

c++.command-line - how to config dm c++ ?

reply "sam" <dd chi.com> writes:
I get the error message 'fatal error: unable to open input file 'iostream.h'
when compile a simple program using
'scppn dd.C' , how should i do ?

thanks
Jan 16 2002
next sibling parent Jan Knepper <jan smartsoft.cc> writes:
dd.C is processed as a C file not as a C++ file!
rename to dd.cpp or use the -cpp compiler flag!

Jan



sam wrote:

 I get the error message 'fatal error: unable to open input file 'iostream.h'
 when compile a simple program using
 'scppn dd.C' , how should i do ?

 thanks
Jan 17 2002
prev sibling parent "Walter" <walter digitalmars.com> writes:
Probably need to set the INCLUDE environment variable:

    set INCLUDE=\dm\include

INCLUDE sets the search path for #include files.

"sam" <dd chi.com> wrote in message news:a25rvt$2oll$2 digitaldaemon.com...
 I get the error message 'fatal error: unable to open input file
'iostream.h'
 when compile a simple program using
 'scppn dd.C' , how should i do ?

 thanks
Jan 17 2002