By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,985 Members | 1,863 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,985 IT Pros & Developers. It's quick & easy.

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

P: n/a
My program is very simple.
It prints "hello, world".

Expand|Select|Wrap|Line Numbers
  1. /* Hello, world */
  2. #include <stdio.h>
  3.  int main()
  4. {
  5.  printf("Hello, world\n");
  6.  return 0;
  7. }
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.
Oct 7 '10 #1
Share this Question
Share on Google+
2 Replies


P: n/a
please check the path provided for the library in the "directories" 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 ! ;)
Oct 7 '10 #2

P: n/a
if the stdio.h header file is missing from your software , then its obvious to install a new one..
Oct 7 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.