Cant able to run a simple program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Huma123
    New Member
    • Sep 2008
    • 4

    Cant able to run a simple program

    Hi!
    My problem is that i cant able to run a simple c program cause of this error...

    Unable to open include file 'stdio.h'
    unable to open include file 'conio.h'

    while these header files r present in my include files folder.

    i tried to write code to 2 different styles as i found in this forum someone has this prob too u people ans him that..

    #include <conio.h>
    or
    #include "conio.h"

    bt still not working same error


    Plz help me as soon as possible.
    Thanks
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    What compiler/IDE are you using.

    If the files exist (in the correct location) but the compiler is unable to find them you have a configuration error of some kind.

    Comment

    • Huma123
      New Member
      • Sep 2008
      • 4

      #3
      Soo wht can i do u?....i dnt knw how to solve configration prb...can u help me.

      Comment

      • Banfa
        Recognized Expert Expert
        • Feb 2006
        • 9067

        #4
        What compiler/IDE are you using?

        Comment

        • Huma123
          New Member
          • Sep 2008
          • 4

          #5
          I didnt get ur q...i think me using turbo C++ as an IDE..

          Comment

          • newb16
            Contributor
            • Jul 2008
            • 687

            #6
            Originally posted by Huma123
            I didnt get ur q...i think me using turbo C++ as an IDE..
            ptions - prfernces (or something like ) - compiler - directories. Set at least include and libs properly, output ( optionally ) to you curent location lest it create all temp stuff where compiler itself lies.

            Comment

            • Huma123
              New Member
              • Sep 2008
              • 4

              #7
              Thanks..my that prb is solved bt stil l got errors..n now d error is
              Unable to create output file someting.obj

              now wht is the problem?..Help me

              Comment

              • newb16
                Contributor
                • Jul 2008
                • 687

                #8
                Originally posted by Huma123
                Thanks..my that prb is solved bt stil l got errors..n now d error is
                Unable to create output file someting.obj

                now wht is the problem?..Help me
                n now d ???

                just in case, directories there must be in 8.3 format. Like C:\DOCUME~1\... .

                Comment

                • Scholar
                  New Member
                  • Aug 2008
                  • 9

                  #9
                  I think u need to set the right path in Options->Directories.
                  like if ur TC folder is in C: drive then set path as c:\tc\include for "include directories" and c:\tc\lib for "library directories".

                  Comment

                  Working...