Digital Mars - unable to open input file 'iostream'
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Digital Mars - unable to open input file 'iostream'

  1. #1
    Join Date
    Jan 2011
    Posts
    2

    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.

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Fairfax, VA
    Posts
    10,888

    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.

  3. #3
    Join Date
    Jan 2011
    Posts
    2

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center