I installed Turbo C lately but the compiler is unable to find all the #include files like stdio.h , math.h etc..
I tried re-installing it but the problem persists.
what might be the problem? plz suggest a solution.
Why is Turbo C not able to find any of my #include files?
just go 2 the installation folder and search for turboc.cfg file...
open the file using notepad and just include this line in
-I%26lt;Path_Of_Your_Include_Directory%26gt;
Eg: -IC:\TURBOC\TC\INCLUDE\
this might work..
Reply:Also take not, if you use #include "header" or #include %26lt;header%26gt; The %26lt;%26gt; version specifies different directories to search, whereas "" usually means local to project only.
Reply:well i guess i exactly know whats wrong...
have u checked ur directories tab where u mention all the paths..
there u can specify the path ( with double slash //)
like this ex. c:\\tc\\include
hope it helps
Reply:Move to options and then click environment options then change the include directory as well as library directory to ur working directory.
Reply:Turbo C is requirment of enviroment variable like a
INCLUDE=c:\%26lt;Turbo C directory \Include%26gt;
LIB=C:\%26lt;turbo c directory\lib%26gt;
this enviroment variable declare in autoexec.bat file if windows 95/ 98
or windows 2000/XP
declare in Enviroment variable windows
Reply:Follow these steps:
1. Open your Turbo C folder.
2. IMPORTANT: Copy ALL DATA from inside every folder and subfolders you encounter to the Turbo C folder. So all files inside the folders and subfolders present in the Turbo C folder should now reside in the Turbo C folder, at the first level itself.
3. Run Turbo C. Go to the "Directories" menu. A dialog box will appear. CLEAR ALL FIELDS in this dialog box, and choose OK.
This will solve your problem. If this does not work, try putting the path of the Turbo C directory in all the fields.
Reply:Did you check that the IDE was configured to have those files included? You'll have to make sure that the project, or general IDE options, have the files set to be included and the libraries linked in.
Reply:go to options and there u will find directories, give the correct path to it
Reply:.
I think the below would be the solution for your problem.
Consider that you have installed Turbo C in "C:/turboc"
In Turbo C editor, select Options -%26gt; Directories. In the first two tabs give the path where you have installed the editor, i.e., "C:/turboc".
If still the problem persists, then set the path in the DOS command as below.
c:\%26gt;path=%path%;c:\turboc;
**********
Vasu M
**********
flowering plum
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment