| You are here: | About>Computing & Technology>C / C++ / C#> C> C Tutorials> Enter the First Program |
![]() | C / C++ / C# |
C Tutorial - Lesson One Learning How to Compile With Open WatcomLearn how to Enter a Program in CDouble click the example1.c filename we entered. This should open up the Watcom Editor. It's a fairly simple editor, feel free to use your own if you have another preference.
Now type in the following program.
#include <stdio.h> It's something of a tradition to output Hello World as the first program. Now save it by clicking the Save button or File on the menu then save. You can leave the editor open when compiling. The text editor and the project windows are separate, so after changing the source code in the editor, you must save it before recompiling. It's slightly fiddler compared to newer IDEs like Visual Studio in the C++ and C# tutorials. On the next page : Learn how to compile the application.
|
Las Vegas on a BudgetFind a BargainHotel DealsCheap EatsFree AttractionsEntertainment for Less |
All Topics | Email Article | Print this Page | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our 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. |



