Solved

Debug Turbo C 2.01

Posted on 2006-11-28
5
973 Views
Last Modified: 2012-06-21
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.
0
Comment
Question by:Aiysha
5 Comments
 
LVL 8

Expert Comment

by:deepu chandran
ID: 18034209
0
 
LVL 22

Accepted Solution

by:
grg99 earned 500 total points
ID: 18034236
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
 
LVL 45

Expert Comment

by:Kdo
ID: 18036320
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
 

Author Comment

by:Aiysha
ID: 18038171
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
 
LVL 22

Expert Comment

by:grg99
ID: 18038206
Yep, theyre the same.  their compiler does both C and C++.  Also the debugger is included in the C+ package.



0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now