Turbo C is the Integrated Development Environment (IDE) for the C programming language created and sold by the Borland Corporation. Originally founded on the implementation of ANSI C, Turbo C now also supports the C++ programming language. Turbo C provides you with a programming environment where you can write C and C++ programming code in a single program without having to download a compiler or other supporting files separately to complete software development work. The Turbo C implementation by Borland is available as a free download for software developers and uses a DOS Command prompt interface to compile and run programming code.
Things You'll Need
- Turbo C Compiler
Download and install Turbo C from the uniform resource locator (URL) listed in the Resources section of this article if you do not already have it installed on your computer.
Open a new file in your text editor and save to your computer’s local drive with the name “HelloWorld.c”.
Copy the following code into the blank document saved in step 2. This code will output “Hello World” to the console window on your computer once it is compiled and run.include <stdio.h>
Open the command prompt on your computer by selecting the “Start” menu and type “command” in the search text box followed by the “Enter” key. Change the location of your location in the DOS prompt to that where you saved the “HelloWorld.c” file. In this example, the file is saved at “c:\cprograms,” and the DOS command is “cd c:\cprograms” followed by the “Enter” key on your keyboard.
Type “c:\Borland\BCCXX\Bin bcc HelloWorld.c” at the DOS prompt and hit the “Enter” key on your keyboard. The XX represents the version of Turbo C that you downloaded. For example, “BCC30” is the directory name for Turbo C 3.0.
Type “HelloWorld.exe” at the command prompt followed by the “Enter” key. You will see “Hello World” displayed on your DOS console.
Data Types for Turbo C
Turbo C is a compiler and development environment for the programming language C. It came out in 1987 and merged into Turbo...
How to Install Turbo C
With websites growing in popularity, it is more vital for a business to showcase its skills and what it has to offer...
How to Use Arrays in Turbo C++
In Turbo C++, arrays are used to hold collections of data that are unlikely to change in size very often. They are...
Features of Turbo C
Borland's Turbo C, first introduced in 1987, applied the same integrated development model used by the Silicon Valley software company to the...
System Requirements for Turbo C
Turbo C, first released in 1987, is a 16-bit C compiler for the Microsoft Disk Operating System (MS-DOS). In 1990, Turbo C...
How to Link OBJ Files in Turbo C++
Open Command Prompt, found under "Accessories" in the Start menu. ... How to Use Turbo C. How to Create Headers & OBJ...
How to Use the Run Command
How to Use the Run Command. ... How to Run Windows Native Backup From a Command Line; Comments You May Also Like....