How to Use Turbo C


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>


    printf(\&quot;Hello, World!\&quot;)


  • 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.

Related Searches


Promoted By Zergnet



You May Also Like

  • How to Use the Run Command

    The Run command is a part of the Windows operating system that allows you to quickly run programs and access particular files....

  • 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...

  • How to Link OBJ Files in Turbo C++

    The classic Turbo C++ compiler can be used as either an integrated development environment or a command-line tool. While compiling and running...

  • 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...

  • 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...

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!