You are here:About>Computing & Technology>C / C++ / C#> C> C Tutorials> C Tutorial - Lesson One Learning How to Compile With Open Watcom
About.comC / C++ / C#

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

From David Bolton,
Your Guide to C / C++ / C#.
FREE Newsletter. Sign Up Now!

Learning Open Watcom

Screenshot of New Target Screen
Previous | Next >>
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.

  1. Learning Open Watcom
  2. Typing Your First C Program
  3. Learn how to Enter a Program in C
  4. Compiling the Project
  5. Learn how to run Example One

Previous | Next >>

 All Topics | Email Article | Print this Page | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.