If stdio.h is missing in my system ,then what should I do and How?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • riya chauhan

    If stdio.h is missing in my system ,then what should I do and How?

    My program is very simple.
    It prints "hello, world".

    Code:
    /* Hello, world */
    #include <stdio.h>
     int main()
    {
     printf("Hello, world\n");
     return 0;
    }
    But when I run it, it shows error an error saying that it is unable to open include file stdio.h

    I can check my directories but its shows same error.
    Last edited by Frinavale; Oct 7 '10, 07:20 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags and formatted the question so that it's easier to read.
  • arcshams

    #2
    please check the path provided for the library in the "directorie s" option under "options" ...provided at the top right-hand corner section of the window...

    if you are running your software under some kind of modifications , like using dos-box in windows 7 to run programs of older versions , then the path may be different. you have to change the path drive to the virtual drive name on which image has been mounted..

    ..please dont try to understand above para if its not your case, because it might confuse you ! ;)

    Comment

    • arcshams

      #3
      if the stdio.h header file is missing from your software , then its obvious to install a new one..

      Comment

      Working...