Digital Mars - unable to open input file 'iostream'
I'm using "Digital Mars" to compile the following program:
#include <iostream>
using namespace std;
int main() {
cout <<"My name is Abder-Rahman";
return 0;
}
And, this is what I get:
C:\Users\Software Engineer\Desktop\C++\dm852c\dm\bin>dmc print1
Fatal error: unable to open input file 'iostream'
--- errorlevel 1
Any ideas on that?
Thanks.
Re: Digital Mars - unable to open input file 'iostream'
Test whether or not you are able to include <iostream.h>. Even if you are, this is not a solution----if you can include this but not <iostream> it indicates the compiler is woefully out of date and you need a newer one.
If you can't include that either, then the compiler may simply be misconfigured.
Re: Digital Mars - unable to open input file 'iostream'
Thanks Lidley.
Digital Mars comes as a zipped folder, I unzipped the folder once again and now it works. Thanks.