I have important question.

Discussion in 'C' started by sami1900, Aug 25, 2008.

  1. sami1900

    sami1900 New Member

    Joined:
    Aug 25, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    message:Unable to open include file (iostream.h , conio.h ... etc)
    how to solve this problem?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    You should let us know the compiler for better response but you should specify the path of the files correctly in the directory options.
     
  3. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Unable to open include file usually means (a) the header files aren't present or (b) the environment is not setup correctly.
    What OS are you using? Do the files exist? If you're using Windows, try dir/s c:\iostream.h and repeat for each drive (so if you also have a hard drive on D: replace C: with D: to search that drive. Or use the Windows search facility to search "All local drives". If you're using a Unix clone try find / -name iostream.h -print.
    If the files exist then you probably need to set an environment variable, or include the path in the project file. If the files don't exist then you need to (a) remove the references to those headers or (b) install them one way or another.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice