Thursday, July 30, 2009

My turbo c isnt working properly i am a beginr please help?

After saving pgm when i compile i get error message as unable to include stdio.h ie all header file arent openig but they are present in the folder . also unable to create output file.


this happens for all pgms . know what it is? thanks in advance

My turbo c isnt working properly i am a beginr please help?
Perhaps the program wasn't installed properly.


(I'm assuming that you're using Borland Turbo C++ 3.0 for DOS.)


In the IDE, click the 'Options' menu and click 'Directories.' Your 'include' and 'library' directories should be listed there. Type in new ones if they are incorrect.





Keep in mind that Turbo C++ was made for DOS, so it doesn't understand long file names. (It only understands files in the 8.3 file name format.) Make sure that your directory names are only a maximum of 8 characters in length (with no spaces).


Any source (.c or .cpp) files that you got from somewhere else must also follow the 8.3 name format.
Reply:That's very strange.





First try uninstalling and reinstalling turbo c





If that doesn't work, go back and check very carefully to make sure you are using the proper syntax in all your programs.


No comments:

Post a Comment