943,771 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 6515
  • C RSS
Jun 6th, 2006
0

turboC

Expand Post »
I am encountering some problems in turboC v2.01....whenever I compile a prog. and error says that " the compiler is unable to include the library stdio.h and math.h"
Please help!!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
atilla is offline Offline
2 posts
since Jun 2006
Jun 6th, 2006
0

Re: turboC

Try reinstalling and follow the instructions.

Or try installing a more modern compiler instead. Great free ones are available.
Team Colleague
Reputation Points: 2780
Solved Threads: 312
long time no c
Dave Sinkula is offline Offline
4,790 posts
since Apr 2004
Jun 6th, 2006
0

Re: turboC

i think there is no problem in the installation - there is a problem in the directory path specified in the options menu of turboC..only i dont know how to fix it. The file(turboC) alongwith the include file has been installed in C:\windows\desktop\tc so I entered the same ...but it still shows the error - so I just have to fix the path....help will be appreciated.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
atilla is offline Offline
2 posts
since Jun 2006
Jun 6th, 2006
0

Re: turboC

So follow the instructions for setting the path...?
Team Colleague
Reputation Points: 2780
Solved Threads: 312
long time no c
Dave Sinkula is offline Offline
4,790 posts
since Apr 2004
Feb 21st, 2007
0

Re: turboC

I know this is an old post, but I wanted to make the comment that this happened to me once and I couldn't fix it until I reinstalled on the default path (C:\TC).

By the way, I second Dave's opinion on running a newer (or less old) version of Turbo C. You can get it free from many websites. The University of Baja California has it on one of their servers, here's the link: http://fcqi.tij.uabc.mx/aplic

Bye.
Reputation Points: 10
Solved Threads: 2
Junior Poster
jimlaver is offline Offline
126 posts
since Feb 2007
Feb 22nd, 2007
0

Re: turboC

Click to Expand / Collapse  Quote originally posted by atilla ...
i think there is no problem in the installation - there is a problem in the directory path specified in the options menu of turboC..only i dont know how to fix it. The file(turboC) alongwith the include file has been installed in C:\windows\desktop\tc so I entered the same ...but it still shows the error - so I just have to fix the path....help will be appreciated.
Set the directory include option to:
C:\windows\desktop\tc\include
or if you are using class library:
use
C:\windows\desktop\tc\include;C:\windows\desktop\tc\classlib\include
Last edited by vishesh; Feb 22nd, 2007 at 2:46 am.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006
Feb 22nd, 2007
1

Re: turboC

This is a simple problem.
U have to specify path to include header files.
Here is the way to do it.
Open ur program window.
click options at the top.
click directories.
In include directories u have to specify path.
suppose ur tc(compiler) folder is in c drive.
then path is: c:\tc\include

suppose ur tc(compiler) is in directory xyz which is in d drive.
then path is: d:\xyz\tc\include

got it?
if not,reply me.
Reputation Points: 11
Solved Threads: 0
Newbie Poster
goutham_see is offline Offline
7 posts
since Feb 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: read each line of file
Next Thread in C Forum Timeline: Request: ID3 tag quick changer





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC