0% found this document useful (0 votes)
79 views

CC Report

Turbo C++ is a discontinued integrated development environment for C and C++ programming. It was originally developed by Borland and targeted hobbyist programmers. Key features included debugging tools like setting breakpoints and watches. The document discusses the history of Turbo C++ through different versions. It also provides instructions on installing Turbo C++ and describes basic debugging features like compiling single lines, watches, and breakpoints.

Uploaded by

Faisal Mehmood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

CC Report

Turbo C++ is a discontinued integrated development environment for C and C++ programming. It was originally developed by Borland and targeted hobbyist programmers. Key features included debugging tools like setting breakpoints and watches. The document discusses the history of Turbo C++ through different versions. It also provides instructions on installing Turbo C++ and describes basic debugging features like compiling single lines, watches, and breakpoints.

Uploaded by

Faisal Mehmood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Contents

Introduction...............................................................................................................................................2

History........................................................................................................................................................2

Borland Turbo C++...............................................................................................................................2

Borland Japan Turbo C++....................................................................................................................3

Borland Turbo C++ Suite.....................................................................................................................3

Turbo C++ 2006.....................................................................................................................................3

Debugging Feature of Turbo C++............................................................................................................4

Compiling a single line:.........................................................................................................................5

Watches:.................................................................................................................................................5

Breakpoints:...........................................................................................................................................5

Installation.................................................................................................................................................6

1|Page
Turbo C++
Introduction

Turbo C++ is a discontinued C++ compiler and integrated development environment originally


from Borland. It was designed as a home and hobbyist counterpart for Borland C++. As the
developer focused more on professional programming tools, later Turbo C++ products were
made as scaled down versions of its professional compilers.

Figure 1

History
Borland Turbo C++

The first release of Turbo C++ was made available during the MS-DOS era on personal
computers. Version 1.0, running on MS-DOS, was released in May 1990. An OS/2 version was
produced as well. Version 1.01 was released on February 28, 1991, [1] running on MS-DOS. The
latter was able to generate both COM and EXE programs and was shipped with Borland's Turbo
Assembler compiler for Intel x86 processors. The initial version of the Turbo C++ compiler was
based on a front end developed by TauMetric (TauMetric was later acquired by Sun
Microsystems and their front end was incorporated in Sun C++ 4.0, which shipped in 1994). This
compiler supported the AT&T 2.0 release of C++.

Turbo C++ 3.0 was released in 1991 (shipping on November 20), and came in amidst
expectations of the coming release of Turbo C++ for Microsoft Windows. Initially released as an
MS-DOS compiler, 3.0 supported C++ templates, Borland's inline assembler, and generation of
MS-DOS mode executables for both 8086 real mode and 286 protected mode (as well as the
Intel 80186.) 3.0 implemented AT&T C++ 2.1, the most recent at the time. The separate Turbo
Assembler product was no longer included, but the inline-assembler could stand in as a reduced
functionality version.

2|Page
Soon after the release of Windows 3.0, Borland updated Turbo C++ to support Windows
application development. The Turbo C++ 3.0 for Windows product was quickly followed
by Turbo C++ 3.1 (and then Turbo C++ 4.5).

Starting with version 3.0, Borland segmented their C++ compiler into two distinct product-lines:
"Turbo C++" and "Borland C++". Turbo C++ was marketed toward the hobbyist and entry-level
compiler market, while Borland C++ targeted the professional application development market.
Borland C++ included additional tools, compiler code-optimization, and documentation to
address the needs of commercial developers. Turbo C++ 3.0 could be upgraded with separate
add-ons, such as Turbo Assembler and Turbo Vision 1.0.

Version 4.0 was released in November 1993 and was notable (among other things) for its robust
support of templates. In particular, Borland C++ 4 was instrumental in the development of
the Standard Template Library, expression templates, and the first advanced applications
of template metaprogramming. With the success of the Pascal-evolved product Delphi, Borland
ceased work on their Borland C++ suite and concentrated on C++Builder for Windows. C+
+Builder shared Delphi's front-end application framework, but retained the Borland C++ back-
end compiler. Active development on Borland C++/Turbo C++ was suspended until 2006 (see
below.)

Borland Japan Turbo C++

Version 4.0J supports DOS for PC-9801 and PC/AT (DOS/V). It includes Turbo Debugger 4.0.
IDE uses XMS memory. Project manager supports linking OBJ/LIB libraries, integration with
Turbo Assembler 4.0J external assembler.

Version 5.0J was announced on 1996-07-23. Based on Borland C++ 5.0J, this version includes
IDE supporting Windows 95 and NT 3.51, and can compile 16-bit software. It includes
ObjectWindows Library 5.0, Borland Database Engine, Visual Database Tools.

Borland Turbo C++ Suite

This version includes Borland C++Builder 1.0, Turbo C++ 4.5 for Windows 3.1, Turbo C++ 3.0
for DOS. Later release replaces C++Builder 1.0 with Borland C++BuilderX Personal Edition.

Turbo C++ 2006

It is a single language version of Borland Developer Studio 2006 for C++ language, originally
announced in 2006-08-06, and was released later on 2006-09-05 the same year with Turbo

3|Page
Explorer and Turbo Professional editions. The Explorer edition was free to download and
distribute while the Professional edition was a commercial product.

In October 2009 Embarcadero Technologies discontinued support of all Turbo C++ 2006


editions. As such, the Explorer edition is no longer available for download and the Professional
edition is no longer available for purchase from Embarcadero Technologies. Turbo C++ 2006
was succeeded by C++Builder 2007 before Embarcadero's acquisition of Codegear and dropping
support, and official Turbo C++ 2006 page was later redirect visitor to C++Builder 2010.

Debugging Feature of Turbo C++

Figure 2

 Turbo C++ is an IDE (integrated development environment) tool. It provides us the


facility to create, edit, delete, run, compile, and debugging the programs.
 Turbo C++ provides many useful Debugging feature. Through these features, we can
easily locate logical
 And syntax errors. Debugging option is provided us a separate menu named Debug in
the menu bar. Here is the brief description of these features.

4|Page
Compiling a single line:

 TC compiler provides an excellent option to compile the program line by line. This
enable the programmer to easily locate errors. For compiling the single line at a time,
select run Trace into OR pressing F7 shortcut key.

Watches:

 Watches or watch expressions are used to check the value of a variable during the
program execution. It shows that how and when the value particular variable is
change. It is normally in combination with compiling single lines.

Figure 3

Follow the procedure is used to apply the watch or watch expressions.

 Compile the program line by line through shortcut key F7.


 During the execution, when control come to the line that contain required variable,
place the cursor on that variable whose value is to be checked.
 Select debug watch from Menu bar. A sub will appear.
 Select add watch from the sub menu OR simply use ctrl+F7 shortcut key. A dialog
box will appear with selected variable shown in Watch expression field.
 Click OK or Press Enter. TC sub window shows an error message automatically
that shows the current value of the selected variable.

Breakpoints:

It is the most successful and an effective technique of the debugging. A breakpoint is a


point in the program where the compiler temporarily stops the program execution, so that

5|Page
the programmer can analyze necessary values. TC provide easy way to use the
mechanism for apply the breakpoints. A breakpoint applied through two simple steps:

Place the cursor on the line where you want to apply the breakpoint. Select Debug Toggle
breakpoint OR use Ctrl +F8 shortcut key. Turbo C++ automatically stops the program
execution when control reached at that particular line.

Installation
Step 1: Locate the TC.exe file and open it. You will find it at location C:\TC\BIN\.

Step 2: File > New (as shown in above picture) and then write your C program

#include<stdio.h>
int main()
{
printf("hello World!");
return 0;
}

Figure 4

6|Page
Step 3: Save the program using F2 (OR file > Save), remember the extension should be “.c”. In
the below screenshot I have given the name as helloworld.c.

Figure 5

7|Page
Step 4: Compile the program using Alt + F9 OR Compile > Compile (as shown in the below
screenshot).

Figure 6

Step 5: Press Ctrl + F9 to Run (or select Run > Run in menu bar ) the  C program.

Figure 7

8|Page
Step 6: Alt+F5 to view the output of the program at the output screen.

Figure 8

9|Page

You might also like