turboC

Reply

Join Date: Jun 2006
Posts: 2
Reputation: atilla is an unknown quantity at this point 
Solved Threads: 0
atilla atilla is offline Offline
Newbie Poster

turboC

 
0
  #1
Jun 6th, 2006
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!!
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 4,314
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 229
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: turboC

 
0
  #2
Jun 6th, 2006
Try reinstalling and follow the instructions.

Or try installing a more modern compiler instead. Great free ones are available.
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 2
Reputation: atilla is an unknown quantity at this point 
Solved Threads: 0
atilla atilla is offline Offline
Newbie Poster

Re: turboC

 
0
  #3
Jun 6th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 4,314
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 229
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: turboC

 
0
  #4
Jun 6th, 2006
So follow the instructions for setting the path...?
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 123
Reputation: jimlaver is an unknown quantity at this point 
Solved Threads: 2
jimlaver's Avatar
jimlaver jimlaver is offline Offline
Junior Poster

Re: turboC

 
0
  #5
Feb 21st, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,311
Reputation: vishesh is on a distinguished road 
Solved Threads: 35
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: turboC

 
0
  #6
Feb 22nd, 2007
Originally Posted by atilla View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 7
Reputation: goutham_see is an unknown quantity at this point 
Solved Threads: 0
goutham_see goutham_see is offline Offline
Newbie Poster

Re: turboC

 
0
  #7
Feb 22nd, 2007
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC