English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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.

2007-01-11 07:10:10 · 8 answers · asked by Blah ! 2 in Computers & Internet Programming & Design

CSANON : How can i make sure weather the files have been include or not? Plz if you can explain that to this novice user.

2007-01-11 07:18:17 · update #1

8 answers

just go 2 the installation folder and search for turboc.cfg file...
open the file using notepad and just include this line in

-I
Eg: -IC:\TURBOC\TC\INCLUDE\

this might work..

2007-01-11 12:53:58 · answer #1 · answered by JamesBond999 2 · 1 0

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.

2007-01-18 07:11:40 · answer #2 · answered by Parry 3 · 1 0

.

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 -> 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:\>path=%path%;c:\turboc;

**********
Vasu M
**********

2007-01-11 17:51:47 · answer #3 · answered by V@su Maniram 3 · 1 0

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.

2007-01-11 07:15:35 · answer #4 · answered by csanon 6 · 1 1

Turbo C is requirment of enviroment variable like a
INCLUDE=c:\
LIB=C:\

this enviroment variable declare in autoexec.bat file if windows 95/ 98

or windows 2000/XP
declare in Enviroment variable windows

2007-01-17 14:56:37 · answer #5 · answered by Anonymous · 1 0

Move to options and then click environment options then change the include directory as well as library directory to ur working directory.

2007-01-15 07:17:14 · answer #6 · answered by Atul 2 · 1 0

Also take not, if you use #include "header" or #include

The <> version specifies different directories to search, whereas "" usually means local to project only.

2007-01-11 07:39:42 · answer #7 · answered by Pfo 7 · 0 1

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

2007-01-11 11:04:04 · answer #8 · answered by SuperSid 2 · 1 0

go to options and there u will find directories, give the correct path to it

2007-01-11 07:48:27 · answer #9 · answered by Saurabh khatri 2 · 1 0

fedest.com, questions and answers