Installing the Turbo C Compiler

  1. Download the free Borland compiler.
  2. Create a new folder on your hard drive named tc150.

    You can create a new folder using Windows Explorer by opening a file explorer window and selecting the Folder option from the the New item under the File menu or by opening a DOS prompt (Windows 98 and previous) or command window from the Accessories option of the Start menu and typing: mkdir tc150 and pressing the enter key.

  3. Using Winzip or PK Zip, unzip  (extract) the file to the tc folder you created.

    If you use Winzip, be sure the Use Folder Names option in the Extract dialogue box is checked. If you use PK Zip, use the command pkunzip -d -p tc.zip

  4. Create a shortcut to the compiler.

    Open a file explorer window and double-click on the tc150 folder. Scroll down to find the file tc.exe. Right-click on the file and select Create Shortcut.

    You might also wish to add an option to your Start menu.

  5. If the tc150 folder is not a top level directory or if you have chosen to name the folder something else, you will need to change the directories in the programming environment.

    Start Turbo C and type Alt-O. Press the down-arrow key until you have highlighted the Directories option, then press Enter. You must ensure that the Include directories, Library directories, and Turbo C directory options display the correct path. For instance, if you created a folder named tc within a folder named programming, your Include directories option must display C:\programming\tc\include, your Library directories option must display C:\programming\tc\lib, and your TurboC directory must display C:\programming\tc. To change an option, use the arrow keys to highlight the option you wish to change and press enter. Type the correct path in the pop-up dialogue box and press Esc. When you have finished changing the directories paths, type Esc to return to the Options menu. Use the arrow keys to highlight Save Options and press enter. You will see a dialogue box titled Config File with a default file name of  tcconfig.tc. Press enter. You will be asked if you wish to overwrite the existing file; type y for "yes."