Saturday, May 22, 2010

I am unable to run my C programs in turbo c++ 3.0 ,error is that it is unable to open the header files...help.

open the TC console then in Options menu%26gt;%26gt;go to directories%26gt;%26gt;here set the actual Directories path (error was because of mismatch of partition) of INCLUDE and LIB directory.


eg. In Include direcotry option


set D:\TC\INCLUDE\


eg. in Library ooptions


set D:\TC\INCLUDE

I am unable to run my C programs in turbo c++ 3.0 ,error is that it is unable to open the header files...help.
this is a very common error... it occurs when you have recently copied tc++ on your system and when you work on it the first time.....


this problem is because the directries which are entered in you tc are wrong... open your tc console and go to the options tab. on the pull down menu... select directories.... now select the directory where you have installed or copied tc++.....


i m sure that will fix the problem......
Reply:.





The solution is simple.





Consider that you have installed your Turbo C++ editor in C:\TurboC.





In Turbo C++ editor select Options -%26gt; Directories.





Now give the path where the Include files are present





eg. C:\TurboC\Include





Now give the path where the Library files are present





eg. C:\TurboC\Libraries








**********


Vasu M


**********
Reply:I think the library files path is not correct. Open the c++ editor and go for the option "options" in that go for "directories" .


A dialog box will have 4 options.


Be sure the entered details (path) are correct.


In "Include Directories" type ex:- c:\tcplus\include.


In "Library Directories" type ex:- c:\tcplus\lib


Another two are optional.


then click "ok".


After this we have to work.


No comments:

Post a Comment