Sunday, August 2, 2009

I m running any c program on turboc, error message is coming that can not include header file, why?

when ever i am running any c program, the message is coming like 'undefined symbol printf' or 'function printf should have a prototype', i want should i need some thing else when i download turboc like library or something else.......my op system is widow xp and i am fed up with this getting error

I m running any c program on turboc, error message is coming that can not include header file, why?
Make sure the header files (stdio.h) are available on your computer. Are you using something like include %26lt;stdio.h%26gt; or something like include "stdio.h"?





If you are using %26lt;stdio.h%26gt; then your compiler (TurboC) should look in it's path to find the files. Check how to tell TurboC the correct directories for include files.





If you are using "stdio.h" then this is probably wrong. With the quotes usually means include in the same directory as the source files. Try changing to %26lt;stdio.h%26gt; instead.





Let me know if I can be of any more help.


No comments:

Post a Comment