unable to open include file stdio.h

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iamthaniks
    New Member
    • Jun 2007
    • 3

    unable to open include file stdio.h

    Hi....
    How to solve this error- Unable to open include file 'STDIO.H'
  • kky2k
    New Member
    • May 2007
    • 34

    #2
    Originally posted by iamthaniks
    Hi....
    How to solve this error- Unable to open include file 'STDIO.H'
    try to use #include "stdio.h" instead of <stdio.h> ..if it doesn't solve ur problem then probably stdio.h is missing in ur system..

    Comment

    • axneer
      New Member
      • Jun 2007
      • 8

      #3
      Originally posted by iamthaniks
      Hi....
      How to solve this error- Unable to open include file 'STDIO.H'

      My be you have to set environment varible on your computer

      Comment

      • axneer
        New Member
        • Jun 2007
        • 8

        #4
        Originally posted by iamthaniks
        Hi....
        How to solve this error- Unable to open include file 'STDIO.H'

        May be you have to set environment variable on your computer

        Comment

        • niskin
          New Member
          • Apr 2007
          • 109

          #5
          I have had that problem before, either you do not have stdio.h on ur system (check the folder that stores header files for your compiler) or you need to make sure you write:

          Code:
          #include "stdio.h"
          Instead of just <stdio.h> or "stdio.h".

          Comment

          • iamthaniks
            New Member
            • Jun 2007
            • 3

            #6
            Originally posted by kky2k
            try to use #include "stdio.h" instead of <stdio.h> ..if it doesn't solve ur problem then probably stdio.h is missing in ur system..
            If it is missing,then what should I do and How?
            Thanks...

            Comment

            • iamthaniks
              New Member
              • Jun 2007
              • 3

              #7
              Originally posted by niskin
              I have had that problem before, either you do not have stdio.h on ur system (check the folder that stores header files for your compiler) or you need to make sure you write:

              Code:
              #include "stdio.h"
              Instead of just <stdio.h> or "stdio.h".
              I tried but it still shows the error..

              Comment

              • weaknessforcats
                Recognized Expert Expert
                • Mar 2007
                • 9214

                #8
                Originally posted by iamthaniks
                I tried but it still shows the error..
                Have you found stdio.h on your hard disc? If you can't find it, then it obviously can't be opened.

                Comment

                • svlsr2000
                  Recognized Expert New Member
                  • Feb 2007
                  • 181

                  #9
                  If you are using turboc compiler you need to set user include path to directory where you have installed. By default it is set to c:\tc if you have installed somewhere you need to check the path.

                  Comment

                  • priyachandran

                    #10
                    check the include directories in options menu check the path given is correct or not

                    Comment

                    • qingliuyu
                      New Member
                      • Oct 2010
                      • 1

                      #11
                      your solution is right !

                      Comment

                      • ajipmtm
                        New Member
                        • Sep 2012
                        • 1

                        #12
                        Thanks

                        Thank you very much Priyachandran.

                        Comment

                        • sweetpoision
                          New Member
                          • Apr 2018
                          • 1

                          #13
                          I had the same problem and did not find any answer on the internet for solving it. Then i tried it myself and fixed it.Try these easy steps hopefully it will work >
                          Go to the folder where you installed TC(usually it is Program files>TC). There you will see all the necessary directories of TC like BIN,INCLUDE,CLA SSLIB,LIB, etc .
                          Then go to the folder named INCLUDE.From there Copy the "stdio.h" and "conio.h" files and Paste them in CLASSLIB > INCLUDE

                          Comment

                          Working...