473,401 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Unable to compile and run c/c++ programs

I have installed turbo c++ 3.0 in my pc.The os is Windows XP.I can open up the c++ editor ,but when I compile my programs, I get error messages stating that the header files cant be opened.I checked the documentation changed the path of the library files ,source files etc -as specified in the documentation -
but it still gives the same message.Is there a solution for this?
Dec 2 '06 #1
3 2954
Banfa
9,065 Expert Mod 8TB
If it can find the files it is either because

1. The files are not on your computer

or

2. It is looking in the wrong place (or the files are in the wrong place which is the same thing really)


The first thing to do is verify that the header files are on your computer and in a sensible location so use Explorer to find them. Once you have done this it is then down to configuring you compiler to find the files. Note it is not the library path but the include path that you will need to change.
Dec 2 '06 #2
horace1
1,510 Expert 1GB
I have installed turbo c++ 3.0 in my pc.The os is Windows XP.I can open up the c++ editor ,but when I compile my programs, I get error messages stating that the header files cant be opened.I checked the documentation changed the path of the library files ,source files etc -as specified in the documentation -
but it still gives the same message.Is there a solution for this?
what C++ editor do you use (do you use tc which comes with Turbo C) ?
have you got TurboC on the path? e.g.
path=c:\tc\bin;%path%
Dec 2 '06 #3
what C++ editor do you use (do you use tc which comes with Turbo C) ?
have you got TurboC on the path? e.g.
path=c:\tc\bin;%path%
Yes.It's stored in my E: drive and Ive changed the path accordingly.The header,library and source files have also been changed to E: where c++ is installed.Also I use tc which comes with Turbo C++ 3.0, as my editor.
The path that I use is e:\tc\bin .
Dec 3 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: jrefactors | last post by:
If the C programs have UNIX system calls such as fork(), alarm(), etc.., we should call it UNIX programs, not traditional C programs? We couldn't compile the programs with system calls using VC++...
10
by: Jean-David Beyer | last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2 V6.1 (with all the FixPacks) on my old machine. I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat...
2
by: TM | last post by:
When I run an ASP.Net application I am getting the following error: "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged."...
3
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
9
by: peter.mosley | last post by:
Hello again I'm still wrestling with Python / Tkinter / PIL. I have almost got it to work - on a Fedora Core 1 system I can now display images in a Tkinter window. But I also run a Fedora Core...
3
by: =?Utf-8?B?SmVmZnJleQ==?= | last post by:
Just started to test a VB.net 2002 project for ASP.net application. After successfully installed the VS.net 2002 and tested the IIS 5.1 on XP Pro SP2 for some classical ASP programs, I am starting...
4
by: shaileshkumar | last post by:
hi , i m trying to run jsps in tomcat 5.0. I was able run servlets successfully but iam unable to run jsps. i have also coppied tools.jar from jdk and pasted in tomcat directory i have done the...
0
by: dot | last post by:
I spent a few headache filled days trying to use GMP on windows (XP pro) I finally got it to work and since I found little help on the Web I thought someone might find what i did useful. ...
3
by: =?Utf-8?B?TGV3aXMgTW90ZW4=?= | last post by:
Hello. We are having a problem here trying to compile C# applications. Only one developer has a problem where they attempt to compile the application and the compiler complains about being out of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.