-
January 17th, 2011, 01:34 PM
#1
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.
-
January 17th, 2011, 01:52 PM
#2
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.
-
January 17th, 2011, 02:58 PM
#3
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|