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

Instructions

    • 1

      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.

    • 2

      Open a new file in your text editor and save to your computer’s local drive with the name “HelloWorld.c”.

    • 3

      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>

      main()
      {

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

      GO
      }

    • 4

      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.

    • 5

      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.

    • 6

      Type “HelloWorld.exe” at the command prompt followed by the “Enter” key. You will see “Hello World” displayed on your DOS console.

Related Searches

References

Resources

You May Also Like

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

  • How to Use a Turbo Timer

    If you own a turbocharged car, installing and learning how to use a turbo timer will help your turbo last for many...

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

  • How to Use the Scanf Command in C++

    How to Use Turbo C. Turbo C is the Integrated Development Environment (IDE) for the C programming language created and sold by...

  • How to Open a Turbo Tax Document

    Turbo Tax is a popular website that allows users to fill out and file their taxes online. The site is particularly handy...

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

Related Ads

Watch Video

The 2014 Holiday Gadget Roundup