• C

Debug Turbo C 2.01

How do I debug a program using Turbo C 2.01 version. I am using textpad to to edit the program. Then I use the command tcc hello.c for example to compile it. Then when I run it gives I error in compile. How do I know what line the error is in.

Thank you.
AiyshaAsked:
Who is Participating?
 
grg99Commented:
There's usually a number on the error message line that subtly and often inaccurately tells you where the compiler thought the problem was.

You might also consider getting a newer compiler-- Turbo C  2.01 is from circa 1982.  There's been quite a bit of improvement in C development systems since then.   If $ are tight, you can even get Turbo C 5.5 from the Borland site for free.      

If you have a recent computer, they even have Turbo C, the latest version, for free.  What a deal.

0
 
deepu chandranCommented:
0
 
Kent OlsenData Warehouse Architect / DBACommented:
Hi Aiysha,

See if you've got TC.EXE as well as TCC.EXE.  TC.EXE is the Itegrated Development Environment (IDE) and has a built in debugger.

If not, see if you've got TD.EXE.  That's Borland's Turbo Debugger.  TC, TCC, and TD were often distributed as part of the same package.


And good advice from grg99 on upgrading.  2.0 is very old.  (I still have my original 2.0 disks, but after all this time I won't swear that they'll still read.)


Good Luck,
Kent
0
 
AiyshaAuthor Commented:
Is Turbo C 5.5 compiler same as Turbo C++ 5.5. I dont see anything on website that returns Turbo C 5.5. All the queries return Turbo C++ 5.5. Also is Turbo Debugger 5.5 same as Turbo C V5.5?

Thank you.
0
 
grg99Commented:
Yep, theyre the same.  their compiler does both C and C++.  Also the debugger is included in the C+ package.



0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.