Thursday, July 9, 2009

The files in INCLUDE folder of TC(turbo c++) becomes notepad file &running a program gives error?

even on running the SETUP it does'nt opens in it original format.


running a program gives following errors-%26gt;





1.) cannot open INCLUDE HEADER file.................


2.)unable to create source file.





i dont get any program to chose with which those files must open.


PLEASE REPLY SOON.

The files in INCLUDE folder of TC(turbo c++) becomes notepad file %26amp;running a program gives error?
Uh, I'm going to have to guess at what your problem is really about.


Are you saying that you cannot compile a program because your compiler gives an error during compilation?


If Turbo C++ cannot find the header files which you specified in your source file, then you must tell C++ where to look for the header files.


If you're using Turbo C++ version 3.0 for DOS, then click the Options menu, and then click on Directories. You can set the locations of the library and header files there.


Another option is to modify your source file.


For example, suppose you want to include the iostream.h file in your source file.





Instead of writing this:


#include %26lt;iostream.h%26gt;





You can specify the hard drive letter and folder:


#include "c:\tc\include\iostream.h"

gardenia

No comments:

Post a Comment