1. Home
  2. Computing & Technology
  3. C / C++ / C#

C Tutorial - Lesson One Learning How to Compile With Open Watcom

By , About.com Guide

1 of 5

Learning Open Watcom

Screenshot of New Target Screen
Learning a new piece of software can be daunting, but this tutorial will show you how to create a new project, add source code files then build and run your program.

Load Watcom

Start by loading the Watcom IDE. You can see how to do this here. Click File then New Project or simply Ctrl + N, browse to where you want your files kept and type in ex1. This will open a New Target dialog, like in the image above.

In the target name box type in Ex1. Select the first radio button in the Target Environment, the one marked Win 32 (NT/Win 95/Win 32s). Alternatively, you can choose Win 386, the Watcom Extender or Dos - 32 Bit (Hint- Choose the Dos 4GW Executable for image Type).

What's the difference? At this point none, except for slight differences in executable size. It depends on what you are developing. For most development, the Win 32 option will do fine, even if you are writing command line utilities.

If you are doing this on a Linux PC then select the Linux radio button.

We'll use these same settings for all the future lessons in the C tutorials so make a note of them.

On the next page : Learn how to create a project and add a blank file to it.

Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. C
  5. C Tutorials
  6. C Tutorial - Lesson One Learning How to Compile With Open Watcom

©2009 About.com, a part of The New York Times Company.

All rights reserved.