You are here:

C++/C++ compiler porblem

Advertisement


Question
I have developed a project using C++ with many different .cpp files (main.cpp,window.cpp,courses.cpp etc.) and i included these files to another cpp file with #include<file_name.cpp> and i am getting a error message that "Unable to include file file_name.cpp". I have also taken inbuilt help it was suggested to check config.sys file for a line FILES=20 i have done that also. I am using Borland Turbo C++ 3.x. Pleas help to get out of this problem. OS is Windows xp professional

Answer
Dear Satish

replace all the header file inclsion inside the source code i.e.
instead of using #include<filename.h> use
#include"filename.h" (not for the pre-compiled headers like stdio.h or conio.h) this might solve your problems and if still the problem persist please do inform me about the same with more details so that I can diagonise it properly.

regards
Joydeep Bhattacharya

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Joydeep Bhattacharya

Expertise

TSR, Socket and Very Complex Mathematical Problem

Experience

Worked on many OOP projects with design patterns

Organizations
http://www.scodz.com

Publications
http://www.scodz.com

Education/Credentials
Master of Computer Applications

Awards and Honors
Being a proud owner of a website of programming called http://www.scodz.com

Past/Present Clients
http://www.funforu.com http://www.dhoondho.com http://analysingc.50webs.com

©2016 About.com. All rights reserved.