Quote:
|
Originally Posted by Roma Rosa
using Turbo C++, whenever i try to compile my prg, it gives me an error saying - ""Unable to open include file
|
Hi, it depends what kind of file you are unable to include. If it is one of the standard C++ files like:
Code:
#include <iostream.h>
then:
1. check if it is right typed (no errors in spelling)
2. check configuration in menu Options->Directories, it should contain right entry, for example if your Turbo C++ is installed in C:\TURBOC3\ the path in configuration window should start the same.
If it is a file that you created, for example "file.h", then it should be included like this:
(notice the quotation marks)
Or if it doesn't work, try full path, to this file, for example:
Code:
#include "C:\DIRECTORY_OF_YOUR_FILE/SUBDIRECTORY/file.h"
Sorry for my English.