Thursday, July 30, 2009

Why the error unable to open include file is coming ( C++)?

I have downloaded a C++ script from the net . it has 3 header files and 1 cpp file. I have put the header files in include directory of turbo C. but when I compile the cpp file ... it gives the error "unable to open include file" for all three header files...... Im new to programming in C++ . Kindly give suggestions ?

Why the error unable to open include file is coming ( C++)?
are you using #include %26lt;filename.h%26gt; ?





try this, copy the header files to your c:\


Now type your includes like this





#include "c:\filename.h"





this should work for you.

gerbera

No comments:

Post a Comment